From: nion Date: Wed, 23 Feb 2005 16:34:56 +0000 (+0000) Subject: Nico Golde: X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=commitdiff_plain;h=56dd9c73a81011f78e5c39935e4f288378c56c51 Nico Golde: 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 --- diff --git a/ChangeLog.mutt-ng b/ChangeLog.mutt-ng index c07388e..5a089e4 100644 --- a/ChangeLog.mutt-ng +++ b/ChangeLog.mutt-ng @@ -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 diff --git a/sidebar.c b/sidebar.c index e1bec5d..23abab9 100644 --- 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++ )