summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-11-19 21:18:01 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-11-20 00:51:14 +0100
commit6947bed015c33706b9a441fd47cd84f0da99097c (patch)
treef5069ae2bbdbc29f65366807ad5e217e3c293fa8 /core/os
parentecf80fbbbadaa782cbe81a6562916331c6762970 (diff)
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.
Diffstat (limited to 'core/os')
-rw-r--r--core/os/os.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp
index 8d050c1c4c..65d0b2e05d 100644
--- a/core/os/os.cpp
+++ b/core/os/os.cpp
@@ -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