file 't_edit.mac' correction function 'ted_text_add'
git-svn-id: svn://kolibrios.org@1667 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
25d53f663a
commit
1c4f4e9d68
@ -1068,6 +1068,9 @@ proc ted_text_add, edit:dword, text:dword, t_len:dword, add_opt:dword
|
||||
;ecx - ¤«ï ¢à¥¬¥ëå 㦤
|
||||
;edx - 㪠§ ⥫ì áâàãªâãàã ᨬ¢®«
|
||||
pushad
|
||||
cmp dword[t_len],1 ;¯à®¢¥à塞 ¤«¨ã ¤®¡¢«ï¥¬®£® ⥪áâ
|
||||
jl .no_add ;ª®£¤ ¤«¨ <1 ¯àë£ ¥¬ ª®¥æ äãªæ¨¨, ¢® ¨§¡¥¦ ¨¥ £«îª®¢
|
||||
|
||||
mov edi,dword[edit]
|
||||
mov esi,dword[text]
|
||||
|
||||
@ -1186,6 +1189,7 @@ proc ted_text_add, edit:dword, text:dword, t_len:dword, add_opt:dword
|
||||
.add_all: ;¢á¥ ᨬ¢®«ë ¤®¡ ¢«¥ë
|
||||
|
||||
call ted_text_colored
|
||||
.no_add:
|
||||
popad
|
||||
ret
|
||||
endp
|
||||
|
Loading…
Reference in New Issue
Block a user