diff options
author | Florian Kagerer | 2010-08-17 20:58:01 +0000 |
---|---|---|
committer | Florian Kagerer | 2010-08-17 20:58:01 +0000 |
commit | b480f0f2f093e5606501cca455a77735693ce07e (patch) | |
tree | ee61c02ffd9ef233a6f2947dc6e36892ce7b486d | |
parent | 9df74402e5474652b7a041bc4f9d9ec4ac6a0db6 (diff) | |
download | scummvm-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
-rw-r--r-- | common/str.cpp | 2 |
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) { |