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
|
||||
|
||||
; okay, undefine it
|
||||
push ebx
|
||||
mov ebx, esi
|
||||
lea eax, [esi + SYS_BUTTON.sizeof]
|
||||
call memmove
|
||||
dec dword[edi]
|
||||
add ecx, -SYS_BUTTON.sizeof
|
||||
pop ebx
|
||||
jmp .next_button
|
||||
|
||||
.exit:
|
||||
|
Loading…
Reference in New Issue
Block a user