]> git.saurik.com Git - apt.git/commitdiff
Fixed some display glitches
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:50:53 +0000 (16:50 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:50:53 +0000 (16:50 +0000)
Author: jgg
Date: 1998-07-22 01:45:38 GMT
Fixed some display glitches

apt-pkg/contrib/progress.cc

index 18dffc83e8382b12ba103dc5e60c37c55f1bfd5e..8d49eff2e1093e982c60e830e647d60f8a89f6aa 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: progress.cc,v 1.1 1998/07/21 05:33:21 jgg Exp $
+// $Id: progress.cc,v 1.2 1998/07/22 01:45:38 jgg Exp $
 /* ######################################################################
    
    OpProgress - Operation Progress
 /* ######################################################################
    
    OpProgress - Operation Progress
@@ -97,7 +97,7 @@ void OpTextProgress::Done()
    if (NoUpdate == false && OldOp.empty() == false)
    {
       char S[300];
    if (NoUpdate == false && OldOp.empty() == false)
    {
       char S[300];
-      snprintf(S,sizeof(S),"\r%s",OldOp.c_str());
+      snprintf(S,sizeof(S),"\r%s... Done",OldOp.c_str());
       Write(S);
       cout << endl;
       OldOp = string();
       Write(S);
       cout << endl;
       OldOp = string();