Browse Source

Исправлен глюк в Files.Pos

Arthur Yefimov 2 years ago
parent
commit
058e2a0862
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Files.Mod

+ 1 - 1
src/Files.Mod

@@ -386,7 +386,7 @@ BEGIN Create(f); error := Platform.Identify(f.fd, identity);
 END GetDate;
 
 PROCEDURE Pos*(VAR r: Rider): INTEGER;
-BEGIN RETURN SHORT(r.org + r.offset)
+BEGIN RETURN r.org + r.offset
 END Pos;
 
 PROCEDURE Set*(VAR r: Rider; f: File; pos: LONGINT);