X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fcurs_main.c;h=e23764e97acf323087008a577a69f769131d49b8;hp=bc868e3c9c3d20734d8643e7b669cbb4fad91976;hb=98cf5779d8184a74541be1bc61d15c5f35efd310;hpb=bd5c6e968ae1f29f5819d1e39ec104cc632ad545 diff --git a/lib-ui/curs_main.c b/lib-ui/curs_main.c index bc868e3..e23764e 100644 --- a/lib-ui/curs_main.c +++ b/lib-ui/curs_main.c @@ -476,7 +476,7 @@ int mutt_index_menu (void) ("Mailbox was externally modified. Flags may be wrong.")); else if (check == M_NEW_MAIL) { /* on new mail: redraw sidebar */ - sidebar_draw (CurrentMenu); + sidebar_draw (); mutt_message (_("New mail in this mailbox.")); if (option (OPTBEEPNEW)) @@ -516,10 +516,10 @@ int mutt_index_menu (void) if (op != -1) mutt_curs_set (0); if (menu->redraw & REDRAW_SIDEBAR) - sidebar_draw (menu->menu); + sidebar_draw (); if (menu->redraw & REDRAW_FULL) { menu_redraw_full (menu); - sidebar_draw (menu->menu); + sidebar_draw (); mutt_show_error (); } @@ -2308,7 +2308,7 @@ int mutt_index_menu (void) case OP_SIDEBAR_PREV: case OP_SIDEBAR_NEXT_NEW: case OP_SIDEBAR_PREV_NEW: - sidebar_scroll (op, menu->menu); + sidebar_scroll (op); break; default: if (menu->menu == MENU_MAIN)