summaryrefslogtreecommitdiff
path: root/platform/osx
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 /platform/osx
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 'platform/osx')
-rw-r--r--platform/osx/os_osx.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm
index ec8ec613d3..110cb776ee 100644
--- a/platform/osx/os_osx.mm
+++ b/platform/osx/os_osx.mm
@@ -1369,7 +1369,7 @@ String OS_OSX::get_cache_path() const {
// Get properly capitalized engine name for system paths
String OS_OSX::get_godot_dir_name() const {
- return String(_MKSTR(VERSION_SHORT_NAME)).capitalize();
+ return String(VERSION_SHORT_NAME).capitalize();
}
String OS_OSX::get_system_dir(SystemDir p_dir) const {