Fix for r. 1392

git-svn-id: svn://kolibrios.org@2524 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2012-03-29 20:44:29 +00:00
parent 773874982d
commit 69706fb6b2

View File

@ -3289,8 +3289,11 @@ align 4
;-------------------------------------- ;--------------------------------------
align 4 align 4
mouse_not_active: mouse_not_active:
cmp byte[REDRAW_BACKGROUND], 0 ; background update ? xor eax, eax
xchg al, [REDRAW_BACKGROUND]
test al, al ; background update ?
jz nobackgr jz nobackgr
cmp [background_defined], 0 cmp [background_defined], 0
jz nobackgr jz nobackgr
;-------------------------------------- ;--------------------------------------