X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sidebar.c;h=cc7350e3f4bef1e7e57bc198940fda08f67b63d9;hp=e914533fd3eb12b3fa5bedbfdef2812fe343eeb8;hb=6b4750772eba54f979455376713b49900a4d5016;hpb=4b257b64105713fc439d8a00db97a117319e8009 diff --git a/sidebar.c b/sidebar.c index e914533..cc7350e 100644 --- a/sidebar.c +++ b/sidebar.c @@ -243,7 +243,7 @@ int draw_sidebar(int menu) { } else if(!prev_show_value && option(OPTMBOXPANE)) { SidebarWidth = saveSidebarWidth; /* after toggle: force recounting of all mail */ - mutt_buffy_check(1); + mutt_buffy_check(2); } prev_show_value = option(OPTMBOXPANE); } @@ -251,8 +251,9 @@ int draw_sidebar(int menu) { if ( SidebarWidth == 0 ) return 0; /* draw the divider */ - SETCOLOR(MT_COLOR_STATUS); - for (lines = option (OPTSTATUSONTOP) ? 0 : 1; + /* SETCOLOR(MT_COLOR_STATUS); */ + SETCOLOR(MT_COLOR_SIDEBAR); + for (lines = 1; lines < LINES-1-(menu != MENU_PAGER || option (OPTSTATUSONTOP)); lines++ ) { move(lines, SidebarWidth - delim_len); addstr (NONULL (SidebarDelim));