Nico Golde:
authornion <nion@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 23 Feb 2005 16:34:56 +0000 (16:34 +0000)
committernion <nion@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 23 Feb 2005 16:34:56 +0000 (16:34 +0000)
  fixed pager bar at the bottom in the sidebar patch

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@80 e385b8ad-14ed-0310-8656-cc95a2468c6d

ChangeLog.mutt-ng
sidebar.c

index c07388e..5a089e4 100644 (file)
@@ -3,6 +3,7 @@ Changes specific to mutt-ng:
 2005-02-23:
   * Integrated assume_charset patch from http://www.emaillab.org/mutt/download15.html.en
   * Integrated patch bei Rocco Rutte to correct minor bugs
+  * fixed pager line at the bottom in the sidebar
 
 2005-02-22:
   * Merged mutt changes
index e1bec5d..23abab9 100644 (file)
--- a/sidebar.c
+++ b/sidebar.c
@@ -208,7 +208,7 @@ int draw_sidebar(int menu) {
 
        /* draw the divider */
 
-       for ( ; lines < LINES-1-(menu != MENU_PAGER); lines++ ) {
+       for ( ; lines < LINES-2-(menu != MENU_PAGER); lines++ ) {
                move(lines, SidebarWidth - 1);
                addch('|');
  #ifndef USE_SLANG_CURSES
@@ -249,7 +249,7 @@ int draw_sidebar(int menu) {
                lines++;
        }
        SETCOLOR(MT_COLOR_NORMAL);
-       for ( ; lines < LINES - 1 - (menu != MENU_PAGER); lines++ ) {
+       for ( ; lines < LINES - 2 - (menu != MENU_PAGER); lines++ ) {
                int i = 0;
                move( lines, 0 );
                for ( ; i < SidebarWidth - 1; i++ )