diff options
author | Willem Jan Palenstijn | 2009-07-27 16:04:35 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-07-27 16:04:35 +0000 |
commit | ed763cccfe57774b803e0ae32606d7ec677b297b (patch) | |
tree | c773a4dca51265e5f7684b08a771c9ff53f84f07 /engines/scumm | |
parent | 6d18ada7ef3df70f59430a6b3466bb76672832f1 (diff) | |
download | scummvm-rg350-ed763cccfe57774b803e0ae32606d7ec677b297b.tar.gz scummvm-rg350-ed763cccfe57774b803e0ae32606d7ec677b297b.tar.bz2 scummvm-rg350-ed763cccfe57774b803e0ae32606d7ec677b297b.zip |
Fix format string issues (and compiler warnings).
Patch by salty-horse.
svn-id: r42842
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/resource.cpp b/engines/scumm/resource.cpp index d7ee0a74aa..67baff97b3 100644 --- a/engines/scumm/resource.cpp +++ b/engines/scumm/resource.cpp @@ -229,7 +229,7 @@ void ScummEngine::askForDisk(const char *filename, int disknum) { sprintf(buf, "Cannot find file: '%s'\nInsert disc %d into drive %s\nPress OK to retry, Quit to exit", filename, disknum, _gameDataDir.getPath().c_str()); #endif - result = displayMessage("Quit", buf); + result = displayMessage("Quit", "%s", buf); if (!result) { error("Cannot find file: '%s'", filename); } |