SCI: fixed crash in sq5/german (umlauts)

svn-id: r44587
This commit is contained in:
Martin Kiewitz 2009-10-04 06:39:07 +00:00
parent df14027c41
commit 06f5393ed4

View File

@ -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;