summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-11-01 22:20:03 +0000
committerAaron Griffin <aaron@archlinux.org>2006-11-01 22:20:03 +0000
commit22ce4a2a006d652219e688c6f082a65366051f71 (patch)
treeb189d44b9218ce0aa49d55b2249c1be540a0966d /src
parent33e31415a182700c256a578298ac97a12f41a1e3 (diff)
downloadpacman-22ce4a2a006d652219e688c6f082a65366051f71.tar.xz
Added a newline upong progress completion - this was accidentally left out causing the second progress bar to overwrite the first
Diffstat (limited to 'src')
-rw-r--r--src/pacman/trans.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pacman/trans.c b/src/pacman/trans.c
index 2fffcb18..ee4c79a5 100644
--- a/src/pacman/trans.c
+++ b/src/pacman/trans.c
@@ -396,6 +396,10 @@ void cb_trans_progress(unsigned char event, char *pkgname, int percent, int howm
}
printf("] %3d%%\r", percent);
+ if(percent == 100) {
+ printf("\n");
+ }
+
FREE(addstr);
FREE(upgstr);
FREE(removestr);