You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user