aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2013-10-31 03:25:42 -0600
committerJunio C Hamano <gitster@pobox.com>2013-10-31 13:47:41 -0700
commit35b2fa5ba3090d56d318acd206204e61b6a3281c (patch)
tree678da77b79660f27b449cc1779e2efe53d1fde35
parentc44726438fbdb193c86ee68d53933597a2e10dcb (diff)
downloadgit-35b2fa5ba3090d56d318acd206204e61b6a3281c.tar.gz
git-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 b4e32b74d..962e82be8 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;