diff options
Diffstat (limited to '')
-rw-r--r-- | CPP/7zip/UI/Console/PercentPrinter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CPP/7zip/UI/Console/PercentPrinter.cpp b/CPP/7zip/UI/Console/PercentPrinter.cpp index 4341fd9..49d0393 100644 --- a/CPP/7zip/UI/Console/PercentPrinter.cpp +++ b/CPP/7zip/UI/Console/PercentPrinter.cpp | |||
@@ -63,7 +63,8 @@ void CPercentPrinter::GetPercents() | |||
63 | { | 63 | { |
64 | char c = '%'; | 64 | char c = '%'; |
65 | UInt64 val = 0; | 65 | UInt64 val = 0; |
66 | if (Total == (UInt64)(Int64)-1) | 66 | if (Total == (UInt64)(Int64)-1 || |
67 | (Total == 0 && Completed != 0)) | ||
67 | { | 68 | { |
68 | val = Completed >> 20; | 69 | val = Completed >> 20; |
69 | c = 'M'; | 70 | c = 'M'; |