Fix for r. 2524

git-svn-id: svn://kolibrios.org@2580 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2012-04-06 19:54:26 +00:00
parent e6db970b70
commit 839afe4284

View File

@ -3332,9 +3332,7 @@ align 4
;-------------------------------------- ;--------------------------------------
align 4 align 4
mouse_not_active: mouse_not_active:
xor eax, eax cmp byte[REDRAW_BACKGROUND], 0 ; background update ?
xchg al, [REDRAW_BACKGROUND]
test al, al ; background update ?
jz nobackgr jz nobackgr
cmp [background_defined], 0 cmp [background_defined], 0
@ -3355,6 +3353,7 @@ align 4
pop eax pop eax
call drawbackground call drawbackground
; DEBUGF 1, "K : drawbackground\n"
;--------- set event 5 start ---------- ;--------- set event 5 start ----------
push ecx edi push ecx edi
xor edi, edi xor edi, edi
@ -3369,9 +3368,7 @@ set_bgr_event:
; call change_task - because the application must have time to call f.15.8 ; call change_task - because the application must have time to call f.15.8
call change_task call change_task
;--------- set event 5 stop ----------- ;--------- set event 5 stop -----------
xor eax, eax dec byte[REDRAW_BACKGROUND] ; got new update request?
xchg al, [REDRAW_BACKGROUND]
test al, al ; got new update request?
jnz @b jnz @b
mov [draw_data+32 + RECT.left], eax mov [draw_data+32 + RECT.left], eax