[Scummvm-cvs-logs] scummvm master -> 592e541e196378f1e038840701f583db36e3af31
wjp
wjp at usecode.org
Thu Dec 29 15:37:15 CET 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
592e541e19 KYRA: Fix format string
Commit: 592e541e196378f1e038840701f583db36e3af31
https://github.com/scummvm/scummvm/commit/592e541e196378f1e038840701f583db36e3af31
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2011-12-29T06:36:16-08:00
Commit Message:
KYRA: Fix format string
Changed paths:
engines/kyra/sequences_lol.cpp
diff --git a/engines/kyra/sequences_lol.cpp b/engines/kyra/sequences_lol.cpp
index ba27ccf..512d28f 100644
--- a/engines/kyra/sequences_lol.cpp
+++ b/engines/kyra/sequences_lol.cpp
@@ -65,7 +65,7 @@ int LoLEngine::processPrologue() {
_screen->setFont(Screen::FID_6_FNT);
// Original version: (260|193) "V CD1.02 D"
const int width = _screen->getTextWidth(versionString.c_str());
- _screen->fprintString(versionString.c_str(), 320 - width, 193, 0x67, 0x00, 0x04, gScummVMVersion);
+ _screen->fprintString("%s", 320 - width, 193, 0x67, 0x00, 0x04, versionString.c_str());
_screen->setFont(_flags.lang == Common::JA_JPN ? Screen::FID_SJIS_FNT : Screen::FID_9_FNT);
_screen->fadePalette(_screen->getPalette(0), 0x1E);
More information about the Scummvm-git-logs
mailing list