Explorar o código

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

Arthur Yefimov %!s(int64=2) %!d(string=hai) anos
pai
achega
058e2a0862
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);