[Scummvm-cvs-logs] SF.net SVN: scummvm: [25717] scummvm/trunk/engines/parallaction/animation. cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Mon Feb 19 12:36:32 CET 2007


Revision: 25717
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25717&view=rev
Author:   peres001
Date:     2007-02-19 03:36:31 -0800 (Mon, 19 Feb 2007)

Log Message:
-----------
fixed bad implementation

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/animation.cpp

Modified: scummvm/trunk/engines/parallaction/animation.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/animation.cpp	2007-02-19 09:46:45 UTC (rev 25716)
+++ scummvm/trunk/engines/parallaction/animation.cpp	2007-02-19 11:36:31 UTC (rev 25717)
@@ -313,7 +313,7 @@
 		vCE = readArchivedFileText(vCA, 200, file);
 		if (vCE == 0) return 0;
 
-		Common::ltrim(vCE);
+		vCE = Common::ltrim(vCE);
 	} while (strlen(vCE) == 0 || vCE[0] == '#');
 
 	_si = 0;
@@ -321,7 +321,7 @@
 		vCE = parseNextToken(vCE, _tokens[_si], 40, " \t\n");
 		if (_tokens[_si][0] == '"' && _tokens[_si][strlen(_tokens[_si])-1] != '"') {
 
-			vCE = parseNextToken(vCE, _tokens[_si], 40, v2);
+			vCE = parseNextToken(vCE, _tokens[_si+1], 40, v2);
 			strcat(_tokens[_si], _tokens[_si+1]);
 			_tokens[_si][0] = ' ';
 			vCE++;


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