You've already forked godot
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user