From ab3ae9bbdb66f1e5ad7fee761824c44d804098fc Mon Sep 17 00:00:00 2001 From: Don Date: Wed, 5 Jul 2023 14:26:37 +0100 Subject: [PATCH] Small typo in compiler difference detection. --- sources/installerfpc.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;