[Scummvm-cvs-logs] SF.net SVN: scummvm:[52173] scummvm/trunk/common/str.cpp
athrxx at users.sourceforge.net
athrxx at users.sourceforge.net
Tue Aug 17 22:58:01 CEST 2010
Revision: 52173
http://scummvm.svn.sourceforge.net/scummvm/?rev=52173&view=rev
Author: athrxx
Date: 2010-08-17 20:58:01 +0000 (Tue, 17 Aug 2010)
Log Message:
-----------
COMMON: fix MSVC assert when using umlauts (or other characters > 127) in the global save/load menu
Modified Paths:
--------------
scummvm/trunk/common/str.cpp
Modified: scummvm/trunk/common/str.cpp
===================================================================
--- scummvm/trunk/common/str.cpp 2010-08-17 20:36:28 UTC (rev 52172)
+++ scummvm/trunk/common/str.cpp 2010-08-17 20:58:01 UTC (rev 52173)
@@ -416,7 +416,7 @@
// Trim leading whitespace
char *t = _str;
- while (isspace(*t))
+ while (isspace((unsigned char)*t))
t++;
if (t != _str) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list