diff options
author | Arnaud Boutonné | 2010-11-28 16:38:01 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-11-28 16:38:01 +0000 |
commit | 54b756e1baf67d0f6f7a8abea4ae3e656297a5c7 (patch) | |
tree | 401d950f7ed9f82544608ffceaa87e46157c8a88 /engines/hugo/util.cpp | |
parent | 5e0a441add1dfb1cff9e9868c6a4a85ea631c1ea (diff) | |
download | scummvm-rg350-54b756e1baf67d0f6f7a8abea4ae3e656297a5c7.tar.gz scummvm-rg350-54b756e1baf67d0f6f7a8abea4ae3e656297a5c7.tar.bz2 scummvm-rg350-54b756e1baf67d0f6f7a8abea4ae3e656297a5c7.zip |
HUGO: Modify or suppress some obsolete comments and warnings
svn-id: r54530
Diffstat (limited to 'engines/hugo/util.cpp')
-rw-r--r-- | engines/hugo/util.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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) { |