'box_lib.obj' change function 'ted_init_syntax_file'

git-svn-id: svn://kolibrios.org@2707 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
IgorA
2012-05-31 16:49:37 +00:00
parent e75134c724
commit 9b63edd2e9
5 changed files with 50 additions and 49 deletions

View File

@@ -169,7 +169,23 @@ mov ecx,ebx
mov ebx,dword[fn_col_option]
copy_path ebx,fn_syntax_dir,file_name_rez,0x0
copy_path file_name_rez,sys_path,file_name,0x0
stdcall [ted_init_syntax_file], tedit0,run_file_70,file_name
mov edi, tedit0
mov ebx,run_file_70
mov dword[ebx], 0
mov dword[ebx+4], 0
mov dword[ebx+8], 0
mov ecx, ted_syntax_file_size
mov dword[ebx+12], ecx
m2m dword[ebx+16], ted_syntax_file
mov byte[ebx+20], 0
m2m dword[ebx+21], file_name
mcall 70
cmp eax,0
jne .end_0
call ted_on_init_synt_err
jmp @f
.end_0:
stdcall [ted_init_syntax_file], edi
;--- get cmd line ---
cmp byte[openfile_path+3],0 ;openfile_path