1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-22 01:02:17 -05:00

ReadFileString didn't return a correct value.

This commit is contained in:
Raymond 2010-05-24 17:57:43 +02:00
parent 478ebec14d
commit f370f865d4

View File

@ -413,8 +413,7 @@ begin
end;
SetLength(S, X);
MFiles[FileNum].FS.Read(S[1], x);
Result := MFiles[FileNum].FS.Read(S[1], x) = x;
{Files[FileNum].BytesRead := Files[FileNum].BytesRead + X;
FileRead(Files[FileNum].Handle, S[1], X);
SetLength(S, X); }