X-Git-Url: http://git.scripts.mit.edu/?a=blobdiff_plain;f=pretty.c;h=962e82be8633217b811a8c8c87b892721b35f662;hb=a18fcc9ff22b714e7df30c400c05542f52830eb0;hp=b4e32b74d3622f92b2c5d3b9881e5cdf49d7f375;hpb=039048e6539623a80618247724eef977c6a855b7;p=git.git 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;