From 69706fb6b2c99064421a07e7489c5e7f4db34419 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Thu, 29 Mar 2012 20:44:29 +0000 Subject: [PATCH] Fix for r. 1392 git-svn-id: svn://kolibrios.org@2524 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 44ee30c804..0f867dd3e0 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -3289,8 +3289,11 @@ align 4 ;-------------------------------------- align 4 mouse_not_active: - cmp byte[REDRAW_BACKGROUND], 0 ; background update ? + xor eax, eax + xchg al, [REDRAW_BACKGROUND] + test al, al ; background update ? jz nobackgr + cmp [background_defined], 0 jz nobackgr ;--------------------------------------