From 22ce4a2a006d652219e688c6f082a65366051f71 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 1 Nov 2006 22:20:03 +0000 Subject: [PATCH] Added a newline upong progress completion - this was accidentally left out causing the second progress bar to overwrite the first --- src/pacman/trans.c | 4 ++++ 1 file changed, 4 insertions(+) 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);