* fixed 9868 typo

git-svn-id: trunk@8736 -
This commit is contained in:
marco 2007-10-07 07:33:14 +00:00
parent 0f4f080d91
commit c213f47986

View File

@ -440,7 +440,7 @@ begin
while num > 0 do
begin
res := ov_read(vf, pointer(ptrint(buffer) + ofs), num, bigendianp, word, sgned, nil);
if res <= 0 then
if res < 0 then
Exit(res);
if res = 0 then