aboutsummaryrefslogtreecommitdiff
path: root/CPP/7zip/UI/Console/PercentPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CPP/7zip/UI/Console/PercentPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/CPP/7zip/UI/Console/PercentPrinter.cpp b/CPP/7zip/UI/Console/PercentPrinter.cpp
index 1e3cfce..cfdab03 100644
--- a/CPP/7zip/UI/Console/PercentPrinter.cpp
+++ b/CPP/7zip/UI/Console/PercentPrinter.cpp
@@ -88,6 +88,8 @@ void CPercentPrinter::GetPercents()
88 88
89void CPercentPrinter::Print() 89void CPercentPrinter::Print()
90{ 90{
91 if (DisablePrint)
92 return;
91 DWORD tick = 0; 93 DWORD tick = 0;
92 if (_tickStep != 0) 94 if (_tickStep != 0)
93 tick = GetTickCount(); 95 tick = GetTickCount();