Pārlūkot izejas kodu

Download log tweak.

Martijn Laan 4 gadi atpakaļ
vecāks
revīzija
e8540f8a2d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Projects/ScriptDlg.pas

+ 1 - 1
Projects/ScriptDlg.pas

@@ -938,7 +938,7 @@ begin
     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]));