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
This commit is contained in:
Arnaud Boutonné 2010-08-27 09:48:53 +00:00
parent fd574d5e24
commit ec9708694e
24 changed files with 110 additions and 103 deletions

View file

@ -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