diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-11-01 22:20:03 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-11-01 22:20:03 +0000 |
commit | 22ce4a2a006d652219e688c6f082a65366051f71 (patch) | |
tree | b189d44b9218ce0aa49d55b2249c1be540a0966d /src | |
parent | 33e31415a182700c256a578298ac97a12f41a1e3 (diff) | |
download | pacman-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.c | 4 |
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); |