Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/deps.c
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-12-16 02:16:00 +0100
committerDan McGee <dan@archlinux.org>2010-03-14 18:39:26 -0500
commite5dce888c09976f1ef4664613c742d0d015e534e (patch)
tree2e22c2160d19ab6ae59257f2967bf5cdcea72def /lib/libalpm/deps.c
parent087be2f1fbae2d7168732c7004d8963a3d9d21d8 (diff)
callback.c : less magic progress bars
1 - Explain magic numbers 2 - There was a weird off by 1 mess in the progress bar. The code supposedly shared the width between 50 chars for text (textlen) and the rest for the progress bar (proglen = getcols() - textlen). But the code actually used textlen + 1 for the text and proglen - 1 for the progress bar (with haslen=1, the progress bar was actually empty), which was a bit confusing so I changed it. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.c')
0 files changed, 0 insertions, 0 deletions