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:
IgorA 2010-10-20 19:08:42 +00:00
parent 25d53f663a
commit 1c4f4e9d68

View File

@ -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