- include patch #937 to fix bug #6771
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@793
e385b8ad-14ed-0310-8656-
cc95a2468c6d
* if we have enough space for buffer, format lines to $COLS-$SidebarWidth
* only to not wrap past end of screen
*/
* if we have enough space for buffer, format lines to $COLS-$SidebarWidth
* only to not wrap past end of screen
*/
- mutt_FormatString (buf, (COLS-SW)>len?len:(COLS-SW), p, status_format_str,
+ int width = COLS - SW;
+ mutt_FormatString (buf, (width >= len ? len : (width + 1)),
+ p, status_format_str,
(unsigned long) menu, 0);
}
(unsigned long) menu, 0);
}