summaryrefslogtreecommitdiff
path: root/write_or_die.c
diff options
context:
space:
mode:
authorLibravatar Olivier Marin <dkr@freesurf.fr>2008-06-27 02:18:48 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-06-28 20:55:26 -0700
commit861d1af36ae168353fc352126c0bf2d189c2324a (patch)
tree4880b0f1d550b10cb1b9975b4a25a99e12414119 /write_or_die.c
parentDocumentation: remove {show,whatchanged}.difftree config options (diff)
downloadtgif-861d1af36ae168353fc352126c0bf2d189c2324a.tar.xz
show_stats(): fix stats width calculation
Before this patch, name_width becomes negative or null for width values less than 15 and name_width values greater than 25 (default: 50). This leads to output random data. This patch checks for minimal width and name_width values. Signed-off-by: Olivier Marin <dkr@freesurf.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'write_or_die.c')
0 files changed, 0 insertions, 0 deletions