Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-03 09:54:33 -0500
committerDan McGee <dan@archlinux.org>2011-11-03 09:54:33 -0500
commit601c808b8d3d4eec76b215e56f1d56f4fe591367 (patch)
tree506d237dc4b466a083377997f854ad8e5e829d21 /lib/libalpm/package.c
parent1953fe43689054aded03eb166f4f987e7cc0dccd (diff)
Fix download progress rounding edge case
Allan's original message: Occasionally when the download rate showed 100.0 the output got messed up. This was caused by the rounding of a number between 99.95 and 100. Adjust the threshold to avoid this rounding issue. Dan: make this fix, but also show values between 0 and 9.995 with two decimal places since we have the room. Original-fix-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.c')
0 files changed, 0 insertions, 0 deletions