1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Fix -Wsuggest-attribute=format warnings.

This commit is contained in:
marxin
2019-02-22 15:38:49 +01:00
parent ce114e35dd
commit aff84ec55d
8 changed files with 22 additions and 14 deletions

View File

@@ -757,7 +757,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
editor = false;
#else
String error_msg = "Error: Could not load game data at path '" + project_path + "'. Is the .pck file missing?\n";
OS::get_singleton()->print(error_msg.ascii().get_data());
OS::get_singleton()->print("%s", error_msg.ascii().get_data());
OS::get_singleton()->alert(error_msg);
goto error;