aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
diff options
context:
space:
mode:
authorJohannes Schickel2012-12-13 20:52:09 +0100
committerJohannes Schickel2012-12-13 21:08:47 +0100
commitb0ba4b01a4fee3409768bdced4de6719b51297bc (patch)
tree6ad91afdcee1804f54f911b4abafbac4d51ad3b6 /engines/hugo
parent7319ccd84f6facbaa3875d1adc31f26cea94d223 (diff)
downloadscummvm-rg350-b0ba4b01a4fee3409768bdced4de6719b51297bc.tar.gz
scummvm-rg350-b0ba4b01a4fee3409768bdced4de6719b51297bc.tar.bz2
scummvm-rg350-b0ba4b01a4fee3409768bdced4de6719b51297bc.zip
COMMON: Add wrapper for isprint.
This is done in the spirit of 658080deeda79d20ea40643569fbcb072573e7cf.
Diffstat (limited to 'engines/hugo')
-rw-r--r--engines/hugo/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/parser.cpp b/engines/hugo/parser.cpp
index 5fdb2026a7..2585c64fd8 100644
--- a/engines/hugo/parser.cpp
+++ b/engines/hugo/parser.cpp
@@ -235,7 +235,7 @@ void Parser::charHandler() {
if (_cmdLineIndex >= kMaxLineSize) {
//MessageBeep(MB_ICONASTERISK);
warning("STUB: MessageBeep() - Command line too long");
- } else if (isprint(static_cast<unsigned char>(c))) {
+ } else if (Common::isPrint(c)) {
_cmdLine[_cmdLineIndex++] = c;
_cmdLine[_cmdLineIndex] = '\0';
}