diff options
author | Max Horn | 2010-06-15 12:34:55 +0000 |
---|---|---|
committer | Max Horn | 2010-06-15 12:34:55 +0000 |
commit | 82b66ffdf8439eff0043256bff9daf4f0c3d84ed (patch) | |
tree | f7a377ba8b75ae92004e6f5aa1a5b44dedf40df4 /base | |
parent | f93644325244cc111634e2e8e4f97adb5a3fbe15 (diff) | |
download | scummvm-rg350-82b66ffdf8439eff0043256bff9daf4f0c3d84ed.tar.gz scummvm-rg350-82b66ffdf8439eff0043256bff9daf4f0c3d84ed.tar.bz2 scummvm-rg350-82b66ffdf8439eff0043256bff9daf4f0c3d84ed.zip |
Fix some warnings about 'format not a string literal'.
svn-id: r49847
Diffstat (limited to 'base')
-rw-r--r-- | base/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/main.cpp b/base/main.cpp index ad6118c905..0360c89502 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -103,11 +103,11 @@ static const EnginePlugin *detectPlugin() { // Query the plugins and find one that will handle the specified gameid printf(_t("User picked target '%s' (gameid '%s')...\n"), ConfMan.getActiveDomainName().c_str(), gameid.c_str()); - printf(_t(" Looking for a plugin supporting this gameid... ")); + printf("%s", _t(" Looking for a plugin supporting this gameid... ")); GameDescriptor game = EngineMan.findGame(gameid, &plugin); if (plugin == 0) { - printf(_t("failed\n")); + printf("%s", _t("failed\n")); warning(_t("%s is an invalid gameid. Use the --list-games option to list supported gameid"), gameid.c_str()); return 0; } else { @@ -416,7 +416,7 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) { } else { // A dialog would be nicer, but we don't have any // screen to draw on yet. - warning(_("Could not find any engine capable of running the selected game")); + warning("%s", _("Could not find any engine capable of running the selected game")); GUI::displayErrorDialog(_("Could not find any engine capable of running the selected game")); } |