mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 02:44:56 +00:00
SCI: fixed crash in sq5/german (umlauts)
svn-id: r44587
This commit is contained in:
parent
df14027c41
commit
06f5393ed4
@ -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…
x
Reference in New Issue
Block a user