summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pretty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretty.c b/pretty.c
index 91be0ce0a0..5e9d1f84b9 100644
--- a/pretty.c
+++ b/pretty.c
@@ -618,7 +618,7 @@ static void rewrap_message_tail(struct strbuf *sb,
if (c->width == new_width && c->indent1 == new_indent1 &&
c->indent2 == new_indent2)
return;
- if (c->wrap_start && c->wrap_start < sb->len)
+ if (c->wrap_start < sb->len)
strbuf_wrap(sb, c->wrap_start, c->width, c->indent1, c->indent2);
c->wrap_start = sb->len;
c->width = new_width;