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:
parent
478ebec14d
commit
f370f865d4
@ -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); }
|
||||
|
Loading…
Reference in New Issue
Block a user