From a128ce7755fb5ae82548a1ddeb8d50fd49338b5b Mon Sep 17 00:00:00 2001 From: ak1 Date: Thu, 10 Mar 2005 21:17:37 +0000 Subject: [PATCH] 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 --- sidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.20.1