forked from KolibriOS/kolibrios
fix empty file reading error
git-svn-id: svn://kolibrios.org@6037 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
67994d9c74
commit
6bb52d11ac
@ -1808,6 +1808,8 @@ fat_Read:
|
|||||||
mov ebx, [ebx+16] ; buffer
|
mov ebx, [ebx+16] ; buffer
|
||||||
push ebx
|
push ebx
|
||||||
push 0
|
push 0
|
||||||
|
test ecx, ecx
|
||||||
|
jz .done
|
||||||
mov eax, [edi+28]
|
mov eax, [edi+28]
|
||||||
sub eax, edx
|
sub eax, edx
|
||||||
jb .fileEnd
|
jb .fileEnd
|
||||||
|
Loading…
Reference in New Issue
Block a user