h2d2b - restore key [Enter]

git-svn-id: svn://kolibrios.org@2201 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
IgorA 2011-09-16 18:43:27 +00:00
parent 1fcf127ffb
commit afab218ec4

View File

@ -53,8 +53,15 @@ still:
key: ; ­ ¦ â  ª« ¢¨è  ­  ª« ¢¨ âãà¥
mcall 2
stdcall [edit_box_key], dword edit1
jmp still ; ¢¥à­ãâìáï ª ­ ç «ã 横« 
cmp ah,13 ;®¡à ¡®âª  ª­®¯ª¨ Enter
je @f
stdcall [edit_box_key], dword edit1
jmp still
@@:
mov edi,string1
add edi,[edit1.size] ;ãáâ ­ ¢«¨¢ ¥¬ ¢ edi ª®­¥æ áâப¨
jmp read_str
jmp still ; ¢¥à­ãâìáï ª ­ ç «ã 横« 
read_str:
dec edi