The following commit has been merged in the master branch:
commit 3582817fd91ceab77cdd25d14ea2add1abe0be61
Author: Guillem Jover <[email protected]>
Date: Tue May 19 07:13:35 2009 +0200
Do not right justify the database reading progress percent counter
There's an odd space most for most of the progress, which will never be
actually seen filled by the 100%. Seems slightly better to just not
indent it.
diff --git a/debian/changelog b/debian/changelog
index 7ef67c6..2e9d1d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -124,6 +124,7 @@ dpkg (1.15.1) UNRELEASED; urgency=low
* Remove obsolete --force-auto-select dpkg option.
* Remove obsolete priorities support from dpkg.
* Remove obsolete 822-date program.
+ * Do not right justify the database reading progress percent counter.
[ Frank Lichtenheld ]
* Dpkg::Version: Remove unnecessary function next_elem which just
diff --git a/lib/progress.c b/lib/progress.c
index 65b11e9..0e81e67 100644
--- a/lib/progress.c
+++ b/lib/progress.c
@@ -61,7 +61,7 @@ progress_step(struct progress *progress)
progress->last_percent = cur_percent;
- printf("\r%s%3d%%", progress->text, cur_percent);
+ printf("\r%s%d%%", progress->text, cur_percent);
}
void
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]