diff options
author | Martin Kiewitz | 2009-10-04 06:39:07 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-04 06:39:07 +0000 |
commit | 06f5393ed41a4c003d7c46f6a37637c8f9a4dc1e (patch) | |
tree | 2007b99f61612cea3eebff16b741a06721248a20 /engines/sci | |
parent | df14027c411af320ab6a696f37cbc47e35675393 (diff) | |
download | scummvm-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.cpp | 2 |
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; |