mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
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.
This commit is contained in:
parent
ecf80fbbba
commit
6947bed015
15 changed files with 28 additions and 31 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue