* debian/patches/mutt-patched:
+ sidebar: patch replaced with the one written by Stuart Henderson
(Closes: 619822)
+ + sidebar: don't overwrite the status if status_on_top is enabled
+ (Closes: 494735)
+ sidebar-{dotted,sorted}: documented the options that those two patches are
introducing; documentation submitted by Julien Valroff (Closes: 603186)
+ sidebar-sorted: use strcoll() to sort the sidebar using the locale
break;
--- /dev/null
+++ b/sidebar.c
-@@ -0,0 +1,333 @@
+@@ -0,0 +1,336 @@
+/*
+ * Copyright (C) ????-2004 Justin Hibbits <jrh29@po.cwru.edu>
+ * Copyright (C) 2004 Thomer M. Gil <mutt@thomer.com>
+int draw_sidebar(int menu) {
+
+ int lines = option(OPTHELP) ? 1 : 0;
++ lines += option(OPTSTATUSONTOP) ? 1 : 0;
++
+ BUFFY *tmp;
+#ifndef USE_SLANG_CURSES
+ attr_t attrs;
+
+ if ( Incoming == 0 ) return 0;
+ lines = option(OPTHELP) ? 1 : 0; /* go back to the top */
++ lines += option(OPTSTATUSONTOP) ? 1 : 0;
+
+ if ( known_lines != LINES || TopBuffy == 0 || BottomBuffy == 0 )
+ calc_boundaries(menu);