The bug was triggered when $mail_check was set to 0.
When drawing the status line, the Sidebar lied about its size to
workaround a bug in mutt_FormatString(). Whilst in that function the
Sidebar was redrawn.
The Sidebar got confused over whether it should be visible or not and
promptly vanished.
mailbox->sb_last_checked = time (NULL);
/* make sure the updates are actually put on screen */
- mutt_sb_draw();
+ if (SidebarWidth)
+ mutt_sb_draw();
}
#endif
}
/* make sure the updates are actually put on screen */
- mutt_sb_draw();
+ if (SidebarWidth)
+ mutt_sb_draw();
}
#endif