installer: minor refactoring

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@749 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
XhmikosR 2011-10-25 19:43:06 +00:00
parent 574d7a1fba
commit 719418b16a

View File

@ -364,14 +364,12 @@ end;
function ShouldSkipPage(PageID: Integer): Boolean; function ShouldSkipPage(PageID: Integer): Boolean;
begin begin
if IsUpgrade() then begin // Hide the license page
// Hide the license page if IsUpgrade() AND (PageID = wpLicense) then begin
if PageID = wpLicense then begin Result := True;
Result := True; end
end else begin
else begin
Result := False; Result := False;
end;
end; end;
end; end;