Explorar o código

Download log tweak.

Martijn Laan %!s(int64=4) %!d(string=hai) anos
pai
achega
e8540f8a2d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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]));