aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-04 06:39:07 +0000
committerMartin Kiewitz2009-10-04 06:39:07 +0000
commit06f5393ed41a4c003d7c46f6a37637c8f9a4dc1e (patch)
tree2007b99f61612cea3eebff16b741a06721248a20 /engines/sci
parentdf14027c411af320ab6a696f37cbc47e35675393 (diff)
downloadscummvm-rg350-06f5393ed41a4c003d7c46f6a37637c8f9a4dc1e.tar.gz
scummvm-rg350-06f5393ed41a4c003d7c46f6a37637c8f9a4dc1e.tar.bz2
scummvm-rg350-06f5393ed41a4c003d7c46f6a37637c8f9a4dc1e.zip
SCI: fixed crash in sq5/german (umlauts)
svn-id: r44587
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/message.cpp b/engines/sci/engine/message.cpp
index 0e040eff8b..7cab337199 100644
--- a/engines/sci/engine/message.cpp
+++ b/engines/sci/engine/message.cpp
@@ -168,7 +168,7 @@ Common::String MessageState::getText() {
skippedSubstr += str[i];
// Hopefully these locale-dependant functions are good enough
- if (islower(str[i]) || isdigit(str[i])) {
+ if (islower((unsigned char)str[i]) || isdigit((unsigned char)str[i])) {
// Lowercase or digit found, this is not a stage direction
strippedStr += skippedSubstr;
skipping = false;