Fixed various g++ warnings ("format not a string literal and no format arguments").

svn-id: r35096
This commit is contained in:
Johannes Schickel 2008-11-16 20:20:31 +00:00
parent e1fdb1f882
commit 2ef8a32a01
12 changed files with 23 additions and 23 deletions

View file

@ -146,7 +146,7 @@ void initGraphics(int width, int height, bool defaultTo1xScaler) {
message += "'.";
GUIErrorMessage(message);
error(message.c_str());
error("%s", message.c_str());
}
// Just show warnings then these occur:
@ -179,7 +179,7 @@ void GUIErrorMessage(const Common::String msg) {
GUI::MessageDialog dialog(msg);
dialog.runModal();
} else {
error(msg.c_str());
error("%s", msg.c_str());
}
}