diff --git a/builtin-shortlog.c b/builtin-shortlog.c
index 6a3812ee18a2ca1bc251f67582ebaee3675d9af5..4d4a3c82d6209ce3ec897dad0c69d58a329b4303 100644 (file)
--- a/builtin-shortlog.c
+++ b/builtin-shortlog.c
/* copy author name to namebuf, to support matching on both name and email */
memcpy(namebuf, author, boemail - author);
len = boemail - author;
- while(len > 0 && isspace(namebuf[len-1]))
+ while (len > 0 && isspace(namebuf[len-1]))
len--;
namebuf[len] = 0;