Skip to content

Commit

Permalink
Download log tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlaan committed Mar 21, 2021
1 parent 703b4dd commit e8540f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Projects/ScriptDlg.pas
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ function TDownloadWizardPage.InternalOnDownloadProgress(const Url, BaseName: str
Log('Need to abort download.');
Result := False;
end else begin
if ProgressMax <> 0 then
if ProgressMax > 0 then
Log(Format(' %d of %d bytes done.', [Progress, ProgressMax]))
else
Log(Format(' %d bytes done.', [Progress]));
Expand Down

0 comments on commit e8540f8

Please sign in to comment.