[Scummvm-cvs-logs] SF.net SVN: scummvm:[39368] scummvm/trunk/engines/sci/engine/kstring.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Mar 13 02:36:14 CET 2009


Revision: 39368
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39368&view=rev
Author:   thebluegr
Date:     2009-03-13 01:36:07 +0000 (Fri, 13 Mar 2009)

Log Message:
-----------
LSL5 no longer throws an assertion after the intro

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-03-13 01:26:51 UTC (rev 39367)
+++ scummvm/trunk/engines/sci/engine/kstring.cpp	2009-03-13 01:36:07 UTC (rev 39368)
@@ -414,7 +414,7 @@
 	if (len == 0) return 1;
 
 	while (*str) {
-		if (isprint(*str)) printable++;
+		if (isprint((*str & 0xFF))) printable++;
 		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