aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFlorian Kagerer2010-08-17 20:58:01 +0000
committerFlorian Kagerer2010-08-17 20:58:01 +0000
commitb480f0f2f093e5606501cca455a77735693ce07e (patch)
treeee61c02ffd9ef233a6f2947dc6e36892ce7b486d /common
parent9df74402e5474652b7a041bc4f9d9ec4ac6a0db6 (diff)
downloadscummvm-rg350-b480f0f2f093e5606501cca455a77735693ce07e.tar.gz
scummvm-rg350-b480f0f2f093e5606501cca455a77735693ce07e.tar.bz2
scummvm-rg350-b480f0f2f093e5606501cca455a77735693ce07e.zip
COMMON: fix MSVC assert when using umlauts (or other characters > 127) in the global save/load menu
svn-id: r52173
Diffstat (limited to 'common')
-rw-r--r--common/str.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/str.cpp b/common/str.cpp
index cc8e236f4b..2961a0c61b 100644
--- a/common/str.cpp
+++ b/common/str.cpp
@@ -416,7 +416,7 @@ void String::trim() {
// Trim leading whitespace
char *t = _str;
- while (isspace(*t))
+ while (isspace((unsigned char)*t))
t++;
if (t != _str) {