Use less-than, not less-than-or-equals, since deststop is off-screen

This commit is contained in:
Monster Iestyn 2017-04-24 17:41:50 +01:00
parent 5e4f960f3a
commit 7f7c7c58ab

View file

@ -830,7 +830,7 @@ void V_DrawFill(INT32 x, INT32 y, INT32 w, INT32 h, INT32 c)
c &= 255;
for (;(--h >= 0) && dest <= deststop; dest += vid.width)
for (;(--h >= 0) && dest < deststop; dest += vid.width)
memset(dest, (UINT8)(c&255), w * vid.bpp);
}