From: ak1 Date: Thu, 10 Mar 2005 21:17:37 +0000 (+0000) Subject: Andreas Krennmair: X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=commitdiff_plain;h=a128ce7755fb5ae82548a1ddeb8d50fd49338b5b;hp=4ff362c6b720c1ae7c6fde8300567644905bd923 Andreas Krennmair: the sidebar divider always needs to be drawn from line 1 on, so that it doesn't draw over the menu bar. git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@168 e385b8ad-14ed-0310-8656-cc95a2468c6d --- diff --git a/sidebar.c b/sidebar.c index 5692cdd..cc7350e 100644 --- a/sidebar.c +++ b/sidebar.c @@ -253,7 +253,7 @@ int draw_sidebar(int menu) { /* draw the divider */ /* SETCOLOR(MT_COLOR_STATUS); */ SETCOLOR(MT_COLOR_SIDEBAR); - for (lines = option (OPTSTATUSONTOP) ? 0 : 1; + for (lines = 1; lines < LINES-1-(menu != MENU_PAGER || option (OPTSTATUSONTOP)); lines++ ) { move(lines, SidebarWidth - delim_len); addstr (NONULL (SidebarDelim));