box_lib: make all branches of edit_box_key return as stdcall

git-svn-id: svn://kolibrios.org@1113 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond) 2009-06-12 21:36:05 +00:00
parent 6c35234d83
commit 9bdc3789b1

View File

@ -548,7 +548,8 @@ edit_box_key.sh_st_of:
jmp edit_box.draw_cursor_text jmp edit_box.draw_cursor_text
@@: @@:
and word ed_flags,ed_shift_off and word ed_flags,ed_shift_off
edit_ex popad
ret 4
;¯à®¢¥àª  á®áâ®ï­¨ï shift ¡ë« «¨ ®­ ­ ¦ â à ­ìè¥? ;¯à®¢¥àª  á®áâ®ï­¨ï shift ¡ë« «¨ ®­ ­ ¦ â à ­ìè¥?
edit_box_key.sh_enable: edit_box_key.sh_enable:
test word ed_flags,ed_shift test word ed_flags,ed_shift
@ -961,7 +962,8 @@ edit_box_key.delete:
jg edit_box_key.bac_del jg edit_box_key.bac_del
test word ed_flags,ed_shift_on test word ed_flags,ed_shift_on
jne edit_box_key.del_bac jne edit_box_key.del_bac
edit_ex popad
ret 4
edit_box_key.bac_del: edit_box_key.bac_del:
call edit_box_key.del_char call edit_box_key.del_char
jmp edit_box_key.draw_all jmp edit_box_key.draw_all
@ -974,8 +976,9 @@ edit_box_key.backspace:
jnz edit_box_key.del_bac jnz edit_box_key.del_bac
test word ed_flags,ed_shift_on test word ed_flags,ed_shift_on
jne edit_box_key.bac_del jne edit_box_key.bac_del
popad
ret 4
edit_ex
edit_box_key.del_bac: edit_box_key.del_bac:
mov edx,ed_size mov edx,ed_size
cmp edx,ecx ;if ed_pos=ed_size cmp edx,ecx ;if ed_pos=ed_size