diff --git a/kernel/trunk/gui/button.inc b/kernel/trunk/gui/button.inc index d63774bbf3..fecac56404 100644 --- a/kernel/trunk/gui/button.inc +++ b/kernel/trunk/gui/button.inc @@ -226,7 +226,6 @@ sys_button: button_no_draw: - push edi mov edi, [BTN_ADDR] movzx eax, word [edi] cmp eax, max_buttons @@ -251,8 +250,6 @@ button_no_draw: shr eax, 16 stosw ; button id number: bits 16-31 - pop edi - noaddbutt: ret