Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit e9c5ee2

Browse files
committed
Formatting, correct ShouldSkipPage
1 parent 6b96094 commit e9c5ee2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Elixir.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ OutputBaseFilename=elixir-v{#ElixirVersion}-setup
2525
SetupIconFile=assets\drop.ico
2626
UninstallDisplayIcon={app}\drop.ico
2727
#ifdef SkipPages
28-
DisableWelcomePage=True
28+
DisableWelcomePage=yes
2929
#endif
3030
WizardImageFile=assets\drop_banner.bmp
3131
WizardSmallImageFile=assets\null.bmp

ElixirWeb.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
AppName=Elixir
2323
AppVersion=0.52
2424
CreateAppDir=no
25-
DisableFinishedPage=True
25+
DisableFinishedPage=yes
2626
OutputBaseFilename=elixir-websetup
2727
SetupIconFile=assets\drop.ico
2828
WizardImageFile=assets\drop_banner.bmp
@@ -205,7 +205,7 @@ end;
205205
function ShouldSkipPage(PageID: Integer): Boolean;
206206
begin
207207
if PageID = PSelRelease.ID then begin
208-
Result := (PSelInstallType.CheckListBox.ItemObject[PSelInstallType.SelectedValueIndex] = nil);
208+
Result := not (PSelInstallType.CheckListBox.ItemObject[PSelInstallType.SelectedValueIndex] = nil);
209209
end else begin
210210
Result := False;
211211
end;

0 commit comments

Comments
 (0)