diff --git a/sources/installerfpc.pas b/sources/installerfpc.pas index e836d097..b9ebaa70 100644 --- a/sources/installerfpc.pas +++ b/sources/installerfpc.pas @@ -288,7 +288,7 @@ function TFPCCrossInstaller.CompilerUpdateNeeded:boolean; // Look at fileage NativeAge:=FileAge(NativeCompiler); CrossAge:=FileAge(CrossCompiler); - if (NativeAge>=CrossAge) then result:=true + result:=(NativeAge>CrossAge); end; end; end;