diff --git a/kernel/trunk/gui/button.inc b/kernel/trunk/gui/button.inc index 63f3b797e5..e042a3a02b 100644 --- a/kernel/trunk/gui/button.inc +++ b/kernel/trunk/gui/button.inc @@ -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: