- Fixed: Typo in FClipRect::Intersect() could case bad clipping.

SVN r3211 (trunk)
This commit is contained in:
Randy Heit 2011-05-19 04:46:04 +00:00
parent 400442ebc1
commit 2de3937338

View file

@ -421,7 +421,7 @@ bool FClipRect::Intersect(int ix, int iy, int iw, int ih)
} }
else else
{ {
ih -= (x-ih); ih -= (y-iy);
} }
if (iw < width) width = iw; if (iw < width) width = iw;
if (ih < height) height = ih; if (ih < height) height = ih;