[Scummvm-cvs-logs] CVS: scummvm/simon vga.cpp,1.168,1.169

Max Horn fingolfin at users.sourceforge.net
Sat Nov 19 09:52:03 CET 2005


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18026/simon

Modified Files:
	vga.cpp 
Log Message:
Fix warning (assign used instead of comparision)

Index: vga.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/vga.cpp,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -d -r1.168 -r1.169
--- vga.cpp	19 Nov 2005 12:07:50 -0000	1.168
+++ vga.cpp	19 Nov 2005 17:51:14 -0000	1.169
@@ -932,7 +932,7 @@
 						byte color;
 						color = src[count + state->x_skip];
 						if (color) {
-							if (color = 220)
+							if (color == 220)
 								color = 244;
 
 							dst[count] = color;





More information about the Scummvm-git-logs mailing list