X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/2b0660b537581e9e65180e4cf1a94d763fd66847..0327b790d40e59e1e35c6ed841308aaebbde8697:/apt-private/acqprogress.cc diff --git a/apt-private/acqprogress.cc b/apt-private/acqprogress.cc index dcc538a39..a33d51c71 100644 --- a/apt-private/acqprogress.cc +++ b/apt-private/acqprogress.cc @@ -176,8 +176,6 @@ bool AcqTextStatus::Pulse(pkgAcquire *Owner) if (Quiet > 0) return true; - enum {Long = 0,Medium,Short} Mode = Medium; - std::string Line; { std::stringstream S; @@ -203,6 +201,7 @@ bool AcqTextStatus::Pulse(pkgAcquire *Owner) if (I->CurrentItem->Owner->ActiveSubprocess.empty() == false) S << " " << I->CurrentItem->Owner->ActiveSubprocess; + enum {Long = 0,Medium,Short} Mode = Medium; // Add the current progress if (Mode == Long) S << " " << I->CurrentSize;