window.inc - fix for r.1474

git-svn-id: svn://kolibrios.org@2214 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2011-09-20 00:07:56 +00:00
parent a9b54b43c0
commit 9e5b90e354

View File

@ -1306,7 +1306,18 @@ end if
mov ecx, 4 mov ecx, 4
repz cmpsd repz cmpsd
pop edi pop edi
jz .exit jnz @f
mov edi,eax
mov eax, [edi + BOX.left - 2]
mov ax, word[edi + BOX.left]
add ax, word[edi + BOX.width]
mov ebx, [edi + BOX.top - 2]
mov bx, word[edi + BOX.top]
add bx, word[edi + BOX.height]
xor esi,esi
call draw_rectangle.forced
jmp .exit
@@: @@:
add esp, -BOX.sizeof add esp, -BOX.sizeof