forked from KolibriOS/kolibrios
* gui/button.inc refactoring fix (remove_button)
git-svn-id: svn://kolibrios.org@1341 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
21ee3e96a8
commit
b5d7e6e5c6
@ -248,11 +248,13 @@ syscall_button.remove_button:
|
|||||||
jne .next_button
|
jne .next_button
|
||||||
|
|
||||||
; okay, undefine it
|
; okay, undefine it
|
||||||
|
push ebx
|
||||||
mov ebx, esi
|
mov ebx, esi
|
||||||
lea eax, [esi + SYS_BUTTON.sizeof]
|
lea eax, [esi + SYS_BUTTON.sizeof]
|
||||||
call memmove
|
call memmove
|
||||||
dec dword[edi]
|
dec dword[edi]
|
||||||
add ecx, -SYS_BUTTON.sizeof
|
add ecx, -SYS_BUTTON.sizeof
|
||||||
|
pop ebx
|
||||||
jmp .next_button
|
jmp .next_button
|
||||||
|
|
||||||
.exit:
|
.exit:
|
||||||
|
Loading…
Reference in New Issue
Block a user