fixed a bug where lines in f=f messages weren't wrapped properly when the sidebar was active. This led to lines wrapped by the pager.
fixed a wrong option used by Nico: the option to check whether the sidebar is visible is OPTMBOXPANE, not OPTSTATUSONTOP.
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@167
e385b8ad-14ed-0310-8656-
cc95a2468c6d
#endif
menu->help = mutt_compile_help (helpstr, sizeof (helpstr), MENU_COMPOSE, ComposeHelp);
- if (option (OPTSTATUSONTOP))
+ if (option(OPTMBOXPANE))
mutt_buffy_check(1);
while (loop)
{
if (width < 0)
width = MaxLineLength;
} else {
- width = COLS - WrapMargin - ql - 1;
+ width = COLS - SidebarWidth - WrapMargin - ql - 1;
if (option(OPTSTUFFQUOTED))
--width;
if (width < 0)