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

kirben at users.sourceforge.net kirben at users.sourceforge.net
Thu Jul 20 22:37:42 CEST 2006


Revision: 23442
          http://svn.sourceforge.net/scummvm/?rev=23442&view=rev
Author:   kirben
Date:     2006-07-08 16:38:29 -0700 (Sat, 08 Jul 2006)

Log Message:
-----------
Add fix for bug #1519327 - FF: Stack corruption

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

Modified: scummvm/trunk/engines/simon/animation.cpp
===================================================================
--- scummvm/trunk/engines/simon/animation.cpp	2006-07-08 23:37:55 UTC (rev 23441)
+++ scummvm/trunk/engines/simon/animation.cpp	2006-07-08 23:38:29 UTC (rev 23442)
@@ -270,7 +270,7 @@
 	byte palette[1024];
 	byte *p = palette;
 
-	for (int i = 0; i <= 256; i++) {
+	for (int i = 0; i < 256; i++) {
 		*p++ = *pal++;
 		*p++ = *pal++;
 		*p++ = *pal++;






More information about the Scummvm-git-logs mailing list