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
1 changed files with 1 additions and 1 deletions

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);
}