mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-08 20:07:11 +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];
|
skippedSubstr += str[i];
|
||||||
|
|
||||||
// Hopefully these locale-dependant functions are good enough
|
// 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
|
// Lowercase or digit found, this is not a stage direction
|
||||||
strippedStr += skippedSubstr;
|
strippedStr += skippedSubstr;
|
||||||
skipping = false;
|
skipping = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user