[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.461,2.462
Max Horn
fingolfin at users.sourceforge.net
Tue Jun 21 10:58:14 CEST 2005
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv719/scumm
Modified Files:
gfx.cpp
Log Message:
Yet another GCC 4 warning fixed
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.461
retrieving revision 2.462
diff -u -d -r2.461 -r2.462
--- gfx.cpp 7 Jun 2005 20:45:18 -0000 2.461
+++ gfx.cpp 21 Jun 2005 16:46:04 -0000 2.462
@@ -622,7 +622,8 @@
for (int x1 = 0; x1 < width; x1++) {
idx2 = (x + x1) % 2;
- *ptr++ = cgaDither[idx1][idx2][*ptr & 0xF];
+ *ptr = cgaDither[idx1][idx2][*ptr & 0xF];
+ ptr++;
}
}
}
More information about the Scummvm-git-logs
mailing list