summaryrefslogtreecommitdiffstats
path: root/editor/export_template_manager.cpp
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 /editor/export_template_manager.cpp
parentecf80fbbbadaa782cbe81a6562916331c6762970 (diff)
downloadredot-engine-6947bed015c33706b9a441fd47cd84f0da99097c.tar.gz
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 'editor/export_template_manager.cpp')
-rw-r--r--editor/export_template_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/export_template_manager.cpp b/editor/export_template_manager.cpp
index cc550ab3d5..d208bbe662 100644
--- a/editor/export_template_manager.cpp
+++ b/editor/export_template_manager.cpp
@@ -67,7 +67,7 @@ void ExportTemplateManager::_update_template_list() {
memdelete(d);
- String current_version = itos(VERSION_MAJOR) + "." + itos(VERSION_MINOR) + "-" + _MKSTR(VERSION_STATUS) + VERSION_MODULE_CONFIG;
+ String current_version = itos(VERSION_MAJOR) + "." + itos(VERSION_MINOR) + "-" + VERSION_STATUS + VERSION_MODULE_CONFIG;
Label *current = memnew(Label);
current->set_h_size_flags(SIZE_EXPAND_FILL);