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.
@@ -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
@@ -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