fixed a little screen update bug in cursor handling.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@212 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2008-10-07 17:26:34 +00:00
parent cee796f7d4
commit 6d47ee1952

View File

@ -2685,7 +2685,7 @@ void Effacer_curseur(void)
if (Fin_Y<4)
Ligne_verticale_XOR (Mouse_X,Mouse_Y+3,4-Fin_Y);
SDL_UpdateRect(Ecran_SDL,Debut_X,Debut_Y,Fin_X-Debut_X,Fin_Y-Debut_Y);
SDL_UpdateRect(Ecran_SDL,Debut_X,Debut_Y,(Fin_X>=Debut_X)?Fin_X-Debut_X+1:0,(Fin_X>=Debut_X)?Fin_Y-Debut_Y+1:0);
}
else
{