From: Richard Russon Date: Tue, 17 May 2016 02:13:50 +0000 (+0100) Subject: fix format=flowed text when the sidebar is enabled X-Git-Tag: neomutt-20160530~18^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d986cae2e43dd6262798b32ec5bd9594e2c5b7b;p=neomutt fix format=flowed text when the sidebar is enabled fixes #26 --- diff --git a/rfc3676.c b/rfc3676.c index dd67f741e..5224bdac7 100644 --- a/rfc3676.c +++ b/rfc3676.c @@ -149,6 +149,9 @@ static void flush_par (STATE *s, flowed_state_t *fst) static int quote_width (STATE *s, int ql) { int width = mutt_term_width (ReflowWrap); +#ifdef USE_SIDEBAR + width -= SidebarWidth; +#endif if (option(OPTTEXTFLOWED) && (s->flags & M_REPLYING)) { /* When replying, force a wrap at FLOWED_MAX to comply with RFC3676