summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/progress.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2013-03-01 18:50:59 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2013-03-01 18:50:59 +0100
commit32fa71a57dcf625c94207dce612175af49c93ce4 (patch)
treefd91c62c29bcab80a749757958166faf3cbab59f /apt-pkg/contrib/progress.cc
parent3e2efdda0a8f577d571fcae15e9f4c3cebddfe30 (diff)
include two missing patches to really fix bug #696225, thanks to
Guillem Jover
Diffstat (limited to 'apt-pkg/contrib/progress.cc')
-rw-r--r--apt-pkg/contrib/progress.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/progress.cc b/apt-pkg/contrib/progress.cc
index 17a6b70e9..916e1d730 100644
--- a/apt-pkg/contrib/progress.cc
+++ b/apt-pkg/contrib/progress.cc
@@ -192,7 +192,7 @@ void OpTextProgress::Update()
}
// Print the spinner
- snprintf(S,sizeof(S),_("\r%s... %u%%"),Op.c_str(),(unsigned int)Percent);
+ snprintf(S,sizeof(S),_("%c%s... %u%%"),'\r',Op.c_str(),(unsigned int)Percent);
Write(S);
OldOp = Op;