[Scummvm-cvs-logs] SF.net SVN: scummvm:[38262] scummvm/trunk/engines/sci/engine/cfsml.pl

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Sun Feb 15 16:51:56 CET 2009


Revision: 38262
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38262&view=rev
Author:   wjpalenstijn
Date:     2009-02-15 15:51:56 +0000 (Sun, 15 Feb 2009)

Log Message:
-----------
fix string unmangling (which I broke earlier)

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/cfsml.pl

Modified: scummvm/trunk/engines/sci/engine/cfsml.pl
===================================================================
--- scummvm/trunk/engines/sci/engine/cfsml.pl	2009-02-15 15:43:39 UTC (rev 38261)
+++ scummvm/trunk/engines/sci/engine/cfsml.pl	2009-02-15 15:51:56 UTC (rev 38262)
@@ -587,6 +587,7 @@
 	print "        return CFSML_FAILURE;\n";
 	print "      }\n\n";
 	print "      lastval++; /* ...and skip the opening quotes locally */\n";
+	print "      length--;\n";
 	print "    }\n";
 	print "    *save_struc = _cfsml_unmangle_string(lastval, length);\n";
 	print "    _cfsml_register_pointer(*save_struc);\n";


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