[Scummvm-cvs-logs] CVS: scummvm/scumm wiz_he.cpp,2.58,2.59
kirben
kirben at users.sourceforge.net
Sun Apr 17 00:41:13 CEST 2005
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4094/scumm
Modified Files:
wiz_he.cpp
Log Message:
Revert + 1 to width/height, caused invalid write.
Index: wiz_he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/wiz_he.cpp,v
retrieving revision 2.58
retrieving revision 2.59
diff -u -d -r2.58 -r2.59
--- wiz_he.cpp 16 Apr 2005 11:01:31 -0000 2.58
+++ wiz_he.cpp 17 Apr 2005 07:40:40 -0000 2.59
@@ -1503,7 +1503,7 @@
uint32 iw = READ_LE_UINT32(wizh + 0x4);
uint32 ih = READ_LE_UINT32(wizh + 0x8);
assert(ic == 0 || ic == 2 || ic == 3);
- Common::Rect r1(iw + 1, ih + 1);
+ Common::Rect r1(iw, ih);
if (params->processFlags & kWPFClipBox) {
if (!r1.intersects(params->box)) {
return;
More information about the Scummvm-git-logs
mailing list