2
0
Эх сурвалжийг харах

* Corrected fix for FileAge

git-svn-id: trunk@17224 -
michael 14 жил өмнө
parent
commit
be484359b8

+ 1 - 1
rtl/unix/sysutils.pp

@@ -526,7 +526,7 @@ Var Info : Stat;
 begin
 begin
   If  (fpstat (pointer(FileName),Info)<0) or fpS_ISDIR(info.st_mode) then
   If  (fpstat (pointer(FileName),Info)<0) or fpS_ISDIR(info.st_mode) then
     exit(-1)
     exit(-1)
-  else if 
+  else 
     Result:=UnixToWinAge(info.st_mtime);
     Result:=UnixToWinAge(info.st_mtime);
 end;
 end;
 {$endif}
 {$endif}