summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2013-10-31 03:25:42 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-10-31 13:47:41 -0700
commit35b2fa5ba3090d56d318acd206204e61b6a3281c (patch)
tree678da77b79660f27b449cc1779e2efe53d1fde35
parentdescribe: trivial style fixes (diff)
downloadtgif-35b2fa5ba3090d56d318acd206204e61b6a3281c.tar.xz
pretty: trivial style fix
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--pretty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretty.c b/pretty.c
index b4e32b74d3..962e82be86 100644
--- a/pretty.c
+++ b/pretty.c
@@ -497,7 +497,7 @@ void pp_user_info(struct pretty_print_context *pp,
static int is_empty_line(const char *line, int *len_p)
{
int len = *len_p;
- while (len && isspace(line[len-1]))
+ while (len && isspace(line[len - 1]))
len--;
*len_p = len;
return !len;