aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/intro.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2010-08-27 09:48:53 +0000
committerArnaud Boutonné2010-08-27 09:48:53 +0000
commitec9708694e886746af0d45d30bbf271c2061053f (patch)
tree1b75a7291c13bb389175ca08896f7959395d4064 /engines/hugo/intro.cpp
parentfd574d5e24ce10cd10f75b73f6f98327f4ce79ce (diff)
downloadscummvm-rg350-ec9708694e886746af0d45d30bbf271c2061053f.tar.gz
scummvm-rg350-ec9708694e886746af0d45d30bbf271c2061053f.tar.bz2
scummvm-rg350-ec9708694e886746af0d45d30bbf271c2061053f.zip
HUGO: Hopefully fix GCC_PRINTF issue in util
* Add a mask in each call of Warn(), Error() and Box() not using one * cleanup: use the same wording for 'End of namespace Hugo' in all files svn-id: r52406
Diffstat (limited to 'engines/hugo/intro.cpp')
-rw-r--r--engines/hugo/intro.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/hugo/intro.cpp b/engines/hugo/intro.cpp
index adee2510a6..c2198d87bc 100644
--- a/engines/hugo/intro.cpp
+++ b/engines/hugo/intro.cpp
@@ -116,13 +116,13 @@ bool intro_3w::introPlay() {
// Text boxes at various times
switch (introTicks) {
case 4:
- Utils::Box(BOX_OK, _vm._textIntro[kIntro1]);
+ Utils::Box(BOX_OK, "%s", _vm._textIntro[kIntro1]);
break;
case 9:
- Utils::Box(BOX_OK, _vm._textIntro[kIntro2]);
+ Utils::Box(BOX_OK, "%s", _vm._textIntro[kIntro2]);
break;
case 35:
- Utils::Box(BOX_OK, _vm._textIntro[kIntro3]);
+ Utils::Box(BOX_OK, "%s", _vm._textIntro[kIntro3]);
break;
}
}
@@ -183,5 +183,4 @@ bool intro_3d::introPlay() {
return true;
}
-} // end of namespace Hugo
-
+} // End of namespace Hugo