fix empty file reading error

git-svn-id: svn://kolibrios.org@6037 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pathoswithin 2016-01-07 10:06:05 +00:00
parent 67994d9c74
commit 6bb52d11ac

View File

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