diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-01-13 15:10:45 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-01-14 15:05:55 -0800 |
commit | dce80bd18cae17b2d5645e3a9c40e76f905fd643 (patch) | |
tree | b6dc363fb118a65c4174fe429fbc307513dd920b /strbuf.c | |
parent | 754884255bb580df159e58defa81cdd30b5c430c (diff) | |
download | git-dce80bd18cae17b2d5645e3a9c40e76f905fd643.tar.gz |
strbuf: miniscule style fix
We write one SP on each side of an operator, even inside an [] pair
that computes the array index.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.c')
-rw-r--r-- | strbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -505,8 +505,8 @@ int strbuf_getline(struct strbuf *sb, FILE *fp, int term) { if (strbuf_getwholeline(sb, fp, term)) return EOF; - if (sb->buf[sb->len-1] == term) - strbuf_setlen(sb, sb->len-1); + if (sb->buf[sb->len - 1] == term) + strbuf_setlen(sb, sb->len - 1); return 0; } |