Ensure progress callback updates if XX/YY numerator changes
commit515720a6fcc54c35420b5b5cf9258c8f2b5dc01b
authorDan McGee <dan@archlinux.org>
Mon, 29 Aug 2011 21:23:06 +0000 (29 16:23 -0500)
committerDan McGee <dan@archlinux.org>
Tue, 30 Aug 2011 00:56:14 +0000 (29 19:56 -0500)
tree6fa185a5db14c58707b9268f0d21d32b205b360a
parent8129b93afe13a6546f46c6615c316ed85f341191
Ensure progress callback updates if XX/YY numerator changes

We only updated if the percentage incremented and enough time had
elapsed, even though the numerator of the current/howmany fraction may
have changed. Ensure we proceed with the progress bar update in these
cases so as to not mislead the user.

Signed-off-by: Dan McGee <dan@archlinux.org>
src/pacman/callback.c