From 9bdc3789b19414efd963dcac619e71ced0bce037 Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Fri, 12 Jun 2009 21:36:05 +0000 Subject: [PATCH] box_lib: make all branches of edit_box_key return as stdcall git-svn-id: svn://kolibrios.org@1113 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/libraries/box_lib/trunk/editbox.mac | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/programs/develop/libraries/box_lib/trunk/editbox.mac b/programs/develop/libraries/box_lib/trunk/editbox.mac index d87f84768a..59a36bb8a7 100644 --- a/programs/develop/libraries/box_lib/trunk/editbox.mac +++ b/programs/develop/libraries/box_lib/trunk/editbox.mac @@ -548,7 +548,8 @@ edit_box_key.sh_st_of: jmp edit_box.draw_cursor_text @@: and word ed_flags,ed_shift_off -edit_ex + popad + ret 4 ;проверка состояния shift был ли он нажат раньше? edit_box_key.sh_enable: test word ed_flags,ed_shift @@ -961,7 +962,8 @@ edit_box_key.delete: jg edit_box_key.bac_del test word ed_flags,ed_shift_on jne edit_box_key.del_bac -edit_ex + popad + ret 4 edit_box_key.bac_del: call edit_box_key.del_char jmp edit_box_key.draw_all @@ -974,8 +976,9 @@ edit_box_key.backspace: jnz edit_box_key.del_bac test word ed_flags,ed_shift_on jne edit_box_key.bac_del + popad + ret 4 -edit_ex edit_box_key.del_bac: mov edx,ed_size cmp edx,ecx ;if ed_pos=ed_size