diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-11-19 21:18:01 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-11-20 00:51:14 +0100 |
commit | 6947bed015c33706b9a441fd47cd84f0da99097c (patch) | |
tree | f5069ae2bbdbc29f65366807ad5e217e3c293fa8 /main/main.cpp | |
parent | ecf80fbbbadaa782cbe81a6562916331c6762970 (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 'main/main.cpp')
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index f6b11bc3ca..c4bca94b44 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -177,7 +177,7 @@ static String get_full_version_string() { void Main::print_help(const char *p_binary) { - print_line(String(_MKSTR(VERSION_NAME)) + " v" + get_full_version_string() + " - https://godotengine.org"); + print_line(String(VERSION_NAME) + " v" + get_full_version_string() + " - https://godotengine.org"); OS::get_singleton()->print("(c) 2007-2017 Juan Linietsky, Ariel Manzur.\n"); OS::get_singleton()->print("(c) 2014-2017 Godot Engine contributors.\n"); OS::get_singleton()->print("\n"); |