diff options
author | Travis Howell | 2005-04-17 07:40:40 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-17 07:40:40 +0000 |
commit | 6feb1a75f69438df2d2ccd8909f34c53b09a342a (patch) | |
tree | afdad4bd85e72f94f229a6f0aaca016ffdaf95b8 | |
parent | 95c23c4cc8801fbbcbce94c5a09194eb764c81ae (diff) | |
download | scummvm-rg350-6feb1a75f69438df2d2ccd8909f34c53b09a342a.tar.gz scummvm-rg350-6feb1a75f69438df2d2ccd8909f34c53b09a342a.tar.bz2 scummvm-rg350-6feb1a75f69438df2d2ccd8909f34c53b09a342a.zip |
Revert + 1 to width/height, caused invalid write.
svn-id: r17644
-rw-r--r-- | scumm/wiz_he.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/wiz_he.cpp b/scumm/wiz_he.cpp index 6074bbcb77..77f0f293df 100644 --- a/scumm/wiz_he.cpp +++ b/scumm/wiz_he.cpp @@ -1503,7 +1503,7 @@ void ScummEngine_v90he::fillWizRect(const WizParameters *params) { 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; |