SCI: fixed crash in sq5/german (umlauts)
svn-id: r44587
This commit is contained in:
parent
df14027c41
commit
06f5393ed4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue