pretty: trivial style fix

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Felipe Contreras 2013-10-31 03:25:42 -06:00 committed by Junio C Hamano
parent c44726438f
commit 35b2fa5ba3

View File

@ -497,7 +497,7 @@ void pp_user_info(struct pretty_print_context *pp,
static int is_empty_line(const char *line, int *len_p) static int is_empty_line(const char *line, int *len_p)
{ {
int len = *len_p; int len = *len_p;
while (len && isspace(line[len-1])) while (len && isspace(line[len - 1]))
len--; len--;
*len_p = len; *len_p = len;
return !len; return !len;