X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sidebar.c;h=cc7350e3f4bef1e7e57bc198940fda08f67b63d9;hp=5692cddbba0949ff953b3890d80f79c415e3c135;hb=a128ce7755fb5ae82548a1ddeb8d50fd49338b5b;hpb=4ff362c6b720c1ae7c6fde8300567644905bd923 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));