From ec9708694e886746af0d45d30bbf271c2061053f Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Fri, 27 Aug 2010 09:48:53 +0000 Subject: 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 --- engines/hugo/intro.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'engines/hugo/intro.cpp') 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 -- cgit v1.2.3