From 54b756e1baf67d0f6f7a8abea4ae3e656297a5c7 Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Sun, 28 Nov 2010 16:38:01 +0000 Subject: HUGO: Modify or suppress some obsolete comments and warnings svn-id: r54530 --- engines/hugo/util.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'engines/hugo/util.cpp') diff --git a/engines/hugo/util.cpp b/engines/hugo/util.cpp index bad97d80c5..ab9fcb0c2b 100644 --- a/engines/hugo/util.cpp +++ b/engines/hugo/util.cpp @@ -98,7 +98,7 @@ char *Utils::Box(box_t dismiss, const char *s, ...) { return 0; if (strlen(s) > MAX_STRLEN - 100) { // Test length - warning("String too big: '%s'", s); + warning("String too long: '%s'", s); return 0; } @@ -139,8 +139,7 @@ char *Utils::Box(box_t dismiss, const char *s, ...) { * Print options for user when dead */ void Utils::gameOverMsg(void) { - //MessageBox(hwnd, gameoverstring, "Be more careful next time!", MB_OK | MB_ICONINFORMATION); - warning("STUB: Gameover_msg(): %s", HugoEngine::get()._textUtil[kGameOver]); + Utils::Box(BOX_OK, "%s", HugoEngine::get()._textUtil[kGameOver]); } char *Utils::strlwr(char *buffer) { -- cgit v1.2.3