Fixed redraw problem when drawing the selection rectangle. (thanks to Jimmy Salmon)
This commit is contained in:
parent
56a72201b6
commit
e57b424e37
1 changed files with 1 additions and 1 deletions
|
@ -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 ) { \
|
||||
|
|
Loading…
Reference in a new issue