templates: Pascal uses <> instead of !=

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2023-05-20 20:28:42 +02:00 committed by Xaymar
parent ffb7a6c5d7
commit 9df2f01963

View file

@ -238,7 +238,7 @@ var
begin
// Attempt to remove old version if it exists.
if (IsUpgrade()) then begin
if (UninstallOldVersion() != 0) then begin
if (UninstallOldVersion() <> 0) then begin
Result := "Removal of older @PROJECT_NAME@ version was cancelled. Unable to continue with normal installation process, Setup will now abort."
exit;
end