mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 15:11:19 +00:00
Pass engine name and version parts as proper strings
Removes the need for _MKSTR all over the place which has the drawback of converting _MKSTR(UNKNOWN_DEFINE) to "UKNOWN_DEFINE" instead of throwing a compilation error.
This commit is contained in:
parent
ecf80fbbba
commit
6947bed015
15 changed files with 28 additions and 31 deletions
|
|
@ -279,7 +279,7 @@ String OS::get_safe_application_name() const {
|
|||
String OS::get_godot_dir_name() const {
|
||||
|
||||
// Default to lowercase, so only override when different case is needed
|
||||
return String(_MKSTR(VERSION_SHORT_NAME)).to_lower();
|
||||
return String(VERSION_SHORT_NAME).to_lower();
|
||||
}
|
||||
|
||||
// OS equivalent of XDG_DATA_HOME
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue