From 5e7b91ce258ed1eedd0473eeff67f7ac44512b82 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Wed, 14 Mar 2012 09:29:38 +0000 Subject: [PATCH] Correction for r.2423 git-svn-id: svn://kolibrios.org@2458 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/gui/window.inc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/kernel/trunk/gui/window.inc b/kernel/trunk/gui/window.inc index f9a052e3c5..f959137cb1 100644 --- a/kernel/trunk/gui/window.inc +++ b/kernel/trunk/gui/window.inc @@ -908,29 +908,23 @@ drawwindow_III: ;////////////////////////////////////////////////////////////// mov esi, [edx + WDATA.cl_frames] shr esi, 1 and esi, 0x007f7f7f - or esi, 1 shl 25; 0x02000000 used for draw_rectangle without top line - ror ebx, 16 - add ebx, [_skinh] - sub bx, 1 - rol ebx, 16 call draw_rectangle push esi mov ecx, 3 mov esi, [edx + WDATA.cl_frames] - or esi, 1 shl 25; 0x02000000 used for draw_rectangle without top line ;-------------------------------------- align 4 .next_frame: add eax, 1 * 65536 - 1 - add ebx, 0 * 65536 - 1 + add ebx, 1 * 65536 - 1 call draw_rectangle dec ecx jnz .next_frame pop esi add eax, 1 * 65536 - 1 - add ebx, 0 * 65536 - 1 + add ebx, 1 * 65536 - 1 call draw_rectangle ; window caption