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:
@ -2166,7 +2166,7 @@ String OS_Windows::get_cache_path() const {
|
||||
// Get properly capitalized engine name for system paths
|
||||
String OS_Windows::get_godot_dir_name() const {
|
||||
|
||||
return String(_MKSTR(VERSION_SHORT_NAME)).capitalize();
|
||||
return String(VERSION_SHORT_NAME).capitalize();
|
||||
}
|
||||
|
||||
String OS_Windows::get_system_dir(SystemDir p_dir) const {
|
||||
|
||||
Reference in New Issue
Block a user