Sfoglia il codice sorgente

Fixed extraneous showing of [working]
Author: jgg
Date: 1998-11-28 20:56:08 GMT
Fixed extraneous showing of [working]

Arch Librarian 22 anni fa
parent
commit
afce576495
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 5 1
      cmdline/acqprogress.cc

+ 5 - 1
cmdline/acqprogress.cc

@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // -*- mode: cpp; mode: fold -*-
 // Description								/*{{{*/
 // Description								/*{{{*/
-// $Id: acqprogress.cc,v 1.3 1998/11/23 07:32:24 jgg Exp $
+// $Id: acqprogress.cc,v 1.4 1998/11/28 20:56:08 jgg Exp $
 /* ######################################################################
 /* ######################################################################
 
 
    Acquire Progress - Command line progress meter 
    Acquire Progress - Command line progress meter 
@@ -148,7 +148,11 @@ void AcqTextStatus::Pulse(pkgAcquire *Owner)
       if (I->CurrentItem == 0)
       if (I->CurrentItem == 0)
       {
       {
 	 if (I->Status.empty() == false)
 	 if (I->Status.empty() == false)
+	 {
 	    snprintf(S,End-S," [%s]",I->Status.c_str());
 	    snprintf(S,End-S," [%s]",I->Status.c_str());
+	    Shown = true;
+	 }
+	 
 	 continue;
 	 continue;
       }
       }