]> git.saurik.com Git - apt.git/blobdiff - apt-private/acqprogress.cc
Release 1.1.10
[apt.git] / apt-private / acqprogress.cc
index dcc538a3969b4eb168b14244827c178b668df4fc..a33d51c7178d60d631586c03f768d2c46ed74dcf 100644 (file)
@@ -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;