summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:00:13 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:00:13 +0000
commit82c6b98d543274b6fd68dbb141392b4ffeaa3142 (patch)
tree7bdebcfa9f0737626ffb58aa12206b9a021903f3 /apt-pkg
parentc5d2d50f1c137c856063db1f2e9be704b4dc9660 (diff)
Remove \r escape sequence for the sake of gettext
Author: jgg Date: 2003-01-11 07:17:04 GMT Remove \r escape sequence for the sake of gettext
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/contrib/progress.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/contrib/progress.cc b/apt-pkg/contrib/progress.cc
index ab81e0643..8eb36fc20 100644
--- a/apt-pkg/contrib/progress.cc
+++ b/apt-pkg/contrib/progress.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: progress.cc,v 1.11 2001/05/07 05:25:13 jgg Exp $
+// $Id: progress.cc,v 1.12 2003/01/11 07:17:04 jgg Exp $
/* ######################################################################
OpProgress - Operation Progress
@@ -151,9 +151,9 @@ void OpTextProgress::Done()
{
char S[300];
if (_error->PendingError() == true)
- snprintf(S,sizeof(S),_("\r%s... Error!"),OldOp.c_str());
+ snprintf(S,sizeof(S),_("%c%s... Error!"),'\r',OldOp.c_str());
else
- snprintf(S,sizeof(S),_("\r%s... Done"),OldOp.c_str());
+ snprintf(S,sizeof(S),_("%c%s... Done"),'\r',OldOp.c_str());
Write(S);
cout << endl;
OldOp = string();