fix for no file

git-svn-id: svn://kolibrios.org@7505 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pathoswithin 2018-10-27 19:20:15 +00:00
parent cdb20ade83
commit 9f39170af8

View File

@ -104,14 +104,17 @@ load_libraries l_libs_start,end_l_libs
mov esi,fname_buf
rep movsd
load_file:
xor ebx, ebx
cmp dword [fileinfo.name], N_A
jz .sizok
mov eax, 70
and [fileattr+32], 0
mov ebx, attrinfo
mcall
mov ebx, [fileattr+32]
test eax, eax
jz .sizok
mov dword [fileinfo.name], N_A
xor ebx, ebx
.sizok:
and [wSave],0
; mov [HClick],-100
@ -834,7 +837,7 @@ fileinfo:
dd I_END
.name:
; db '/HD/1/RTF/texts/index_ru.RTF',0
dd N_A
rb 256-($-.name)
;---------------------------------------------------------------------
@ -1049,6 +1052,13 @@ scroll_bar_data_vertical:
Free BGIfree FONT_NAME,0,0,1.0,1.0,char,1,0x44000000,0
litt_file:
file 'litt.chr'
litt_end:
help_file:
file 'reader.rtf'
help_end:
I_END0:
fname_buf:
@ -1107,14 +1117,6 @@ szKeyword rb 31
szParameter rb 21
block_end dd ?
help_file:
file 'reader.rtf'
help_end:
litt_file:
file 'litt.chr'
litt_end:
;---------------------------------------------------------------------
I_END: ; ¬¥âª  ª®­æ  ¯à®£à ¬¬ë
rb RTFSIZE