Fixed redraw problem when drawing the selection rectangle. (thanks to Jimmy Salmon)

This commit is contained in:
johns 2001-02-28 15:00:46 +00:00
parent 56a72201b6
commit e57b424e37

View file

@ -179,7 +179,7 @@ local void (*LoadCursorRectangle)(int x,int y,int w,int h);
sp=OldCursorRectangle; \
dp=video+y*VideoWidth+x; \
memcpy(dp,sp,w*sizeof(memtype)); \
if ( h ) { \
if ( --h ) { \
sp+=w; \
dp+=VideoWidth; \
while( --h ) { \