From 6947bed015c33706b9a441fd47cd84f0da99097c Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Sun, 19 Nov 2017 21:18:01 +0100 Subject: 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. --- core/os/os.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/os/os.cpp') diff --git a/core/os/os.cpp b/core/os/os.cpp index 8d050c1c4..65d0b2e05 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 -- cgit v1.2.3-70-g09d2