Added a newline upong progress completion - this was accidentally left out causing the second progress bar to overwrite the first

This commit is contained in:
Aaron Griffin 2006-11-01 22:20:03 +00:00
parent 33e31415a1
commit 22ce4a2a00
1 changed files with 4 additions and 0 deletions

View File

@ -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);