]> granicus.if.org Git - neomutt/commit
Remove useless else branch in the $smart_wrap code. (see #3857)
authorKevin McCarthy <kevin@8t8.us>
Wed, 15 Nov 2017 22:53:24 +0000 (14:53 -0800)
committerRichard Russon <rich@flatcap.org>
Wed, 15 Nov 2017 23:54:22 +0000 (23:54 +0000)
commit3b926b821a807e90ff95dd1999e8509a70bb64d1
tree8293c4ceee280fb578f8caea8bdbcae519539b38
parent9702041148834fa064de44cf89292f5b3bdc0560
Remove useless else branch in the $smart_wrap code. (see #3857)

Thanks to Vincent Lefèvre for noticing the nested else was redundant,
since buf_ptr is already set to "buf + cnt" after the format_line()
call.

This allows us to merge the inner and outer if statement, resulting in
simpler code.
pager.c