diff options
Diffstat (limited to 'engines/hugo/util.cpp')
-rw-r--r-- | engines/hugo/util.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/hugo/util.cpp b/engines/hugo/util.cpp index 8c63bedc04..42ae9131d3 100644 --- a/engines/hugo/util.cpp +++ b/engines/hugo/util.cpp @@ -175,4 +175,17 @@ void Utils::gameOverMsg(void) { warning("STUB: Gameover_msg(): %s", HugoEngine::get()._textUtil[kGameOver]); } +char *Utils::strlwr(char *buffer) { + char *result = buffer; + + while (*buffer != '\0') { + if (isupper(*buffer)) + *buffer = tolower(*buffer); + buffer++; + } + + return result; +} + + } // End of namespace Hugo |