[Scummvm-cvs-logs] SF.net SVN: scummvm:[46199] tools/trunk/descumm.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sun Nov 29 19:23:40 CET 2009


Revision: 46199
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46199&view=rev
Author:   fingolfin
Date:     2009-11-29 18:23:40 +0000 (Sun, 29 Nov 2009)

Log Message:
-----------
Patch #2890553: descumm: v0-5 expression-mode nested instruction semi-colons

Modified Paths:
--------------
    tools/trunk/descumm.cpp

Modified: tools/trunk/descumm.cpp
===================================================================
--- tools/trunk/descumm.cpp	2009-11-29 17:31:17 UTC (rev 46198)
+++ tools/trunk/descumm.cpp	2009-11-29 18:23:40 UTC (rev 46199)
@@ -927,6 +927,9 @@
 				next_line_V12(buf2);
 			else
 				next_line_V345(buf2);
+			if (buf2[(strlen(buf2) - 1)] == ';') {
+				buf2[(strlen(buf2) - 1)] = 0;
+			}
 			strecpy(strchr(buf2, 0), ">");
 			pushExprStack(buf);
 			break;


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