Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
format-patch: do not wrap non-rfc2047 headers too early
[gitweb.git]
/
pretty.c
diff --git
a/pretty.c
b/pretty.c
index 8b1ea9ffad2a0b5c5cb5c15cc5057a8a7132da07..71e402466305fc1e5352187a053ba5d107dace48 100644
(file)
--- a/
pretty.c
+++ b/
pretty.c
@@
-286,7
+286,7
@@
static void add_rfc2047(struct strbuf *sb, const char *line, int len,
if ((i + 1 < len) && (ch == '=' && line[i+1] == '?'))
goto needquote;
}
- strbuf_add_wrapped_bytes(sb, line, len,
0, 1, max_length - line_len
);
+ strbuf_add_wrapped_bytes(sb, line, len,
-line_len, 1, max_length
);
return;
needquote: