diff options
| author | Dan Engelbrecht <[email protected]> | 2025-06-10 16:37:43 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-06-10 16:37:43 +0200 |
| commit | c4b2b2d99f8d037c26effd8597925c6327075f44 (patch) | |
| tree | 3fa8b5e028d19e214b919f98341247809e20605a | |
| parent | 5.6.12-pre0 (diff) | |
| download | zen-c4b2b2d99f8d037c26effd8597925c6327075f44.tar.xz zen-c4b2b2d99f8d037c26effd8597925c6327075f44.zip | |
make sure we finish progress at 100% if not done (#432)
* make sure we finish progress at 100% if not done
* fix condition
| -rw-r--r-- | src/zen/zen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zen/zen.cpp b/src/zen/zen.cpp index f0644a4f5..e84e258b8 100644 --- a/src/zen/zen.cpp +++ b/src/zen/zen.cpp @@ -576,7 +576,7 @@ ProgressBar::ForceLinebreak() void ProgressBar::Finish() { - if (m_LastOutputLength > 0) + if (m_LastOutputLength > 0 || m_State.RemainingCount > 0) { State NewState = m_State; NewState.RemainingCount = 0; |