[Scummvm-cvs-logs] SF.net SVN: scummvm:[44597] scummvm/trunk/engines/sci/engine/kstring.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Sun Oct 4 13:05:38 CEST 2009
Revision: 44597
http://scummvm.svn.sourceforge.net/scummvm/?rev=44597&view=rev
Author: m_kiewitz
Date: 2009-10-04 11:05:38 +0000 (Sun, 04 Oct 2009)
Log Message:
-----------
SCI: kReadNumber crash fix for lsl1
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kstring.cpp
Modified: scummvm/trunk/engines/sci/engine/kstring.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kstring.cpp 2009-10-04 10:48:49 UTC (rev 44596)
+++ scummvm/trunk/engines/sci/engine/kstring.cpp 2009-10-04 11:05:38 UTC (rev 44597)
@@ -335,7 +335,7 @@
Common::String source_str = s->segMan->getString(argv[0]);
const char *source = source_str.c_str();
- while (isspace(*source))
+ while (isspace((unsigned char)*source))
source++; /* Skip whitespace */
if (*source == '$') /* SCI uses this for hex numbers */
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