diff options
author | marxin <mliska@suse.cz> | 2019-02-22 15:38:49 +0100 |
---|---|---|
committer | marxin <mliska@suse.cz> | 2019-02-27 06:56:50 +0100 |
commit | aff84ec55d8d0cc782eaa310b9f769291799d5fd (patch) | |
tree | 745f6a668d7ab7c97f9df6ab11b2808936749149 /main/main.cpp | |
parent | ce114e35dda4b3f282abb458f8409db2369b279e (diff) |
Fix -Wsuggest-attribute=format warnings.
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 2ad59fd363..9b062d3951 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -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; |