fix for no file
git-svn-id: svn://kolibrios.org@7505 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
cdb20ade83
commit
9f39170af8
@ -104,14 +104,17 @@ load_libraries l_libs_start,end_l_libs
|
|||||||
mov esi,fname_buf
|
mov esi,fname_buf
|
||||||
rep movsd
|
rep movsd
|
||||||
load_file:
|
load_file:
|
||||||
|
xor ebx, ebx
|
||||||
|
cmp dword [fileinfo.name], N_A
|
||||||
|
jz .sizok
|
||||||
mov eax, 70
|
mov eax, 70
|
||||||
and [fileattr+32], 0
|
|
||||||
mov ebx, attrinfo
|
mov ebx, attrinfo
|
||||||
mcall
|
mcall
|
||||||
mov ebx, [fileattr+32]
|
mov ebx, [fileattr+32]
|
||||||
test eax, eax
|
test eax, eax
|
||||||
jz .sizok
|
jz .sizok
|
||||||
mov dword [fileinfo.name], N_A
|
mov dword [fileinfo.name], N_A
|
||||||
|
xor ebx, ebx
|
||||||
.sizok:
|
.sizok:
|
||||||
and [wSave],0
|
and [wSave],0
|
||||||
; mov [HClick],-100
|
; mov [HClick],-100
|
||||||
@ -834,7 +837,7 @@ fileinfo:
|
|||||||
dd I_END
|
dd I_END
|
||||||
.name:
|
.name:
|
||||||
|
|
||||||
; db '/HD/1/RTF/texts/index_ru.RTF',0
|
dd N_A
|
||||||
|
|
||||||
rb 256-($-.name)
|
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
|
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:
|
I_END0:
|
||||||
fname_buf:
|
fname_buf:
|
||||||
@ -1107,14 +1117,6 @@ szKeyword rb 31
|
|||||||
szParameter rb 21
|
szParameter rb 21
|
||||||
block_end dd ?
|
block_end dd ?
|
||||||
|
|
||||||
help_file:
|
|
||||||
file 'reader.rtf'
|
|
||||||
help_end:
|
|
||||||
|
|
||||||
litt_file:
|
|
||||||
file 'litt.chr'
|
|
||||||
litt_end:
|
|
||||||
|
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
I_END: ; ¬¥âª ª®æ ¯à®£à ¬¬ë
|
I_END: ; ¬¥âª ª®æ ¯à®£à ¬¬ë
|
||||||
rb RTFSIZE
|
rb RTFSIZE
|
||||||
|
Loading…
Reference in New Issue
Block a user