X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=browser.c;h=93a5d76521494c097d7aaad776bd920a4fe04fa3;hp=244df978a953a3e662d82c9b847c3b02b0382f3f;hb=3984877e812b0ba73b84539d231aeca3c2de6b9b;hpb=3692b834c97c9933088d7082464fec5ae903920f diff --git a/browser.c b/browser.c index 244df97..93a5d76 100644 --- a/browser.c +++ b/browser.c @@ -7,26 +7,12 @@ * please see the file GPL in the top level source directory. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif +#include -#include #include -#include -#include -#include -#include -#include #include #include -#include -#include -#include -#include -#include - #include #include #include @@ -45,8 +31,6 @@ #include "nntp.h" #endif -#include "lib/list.h" - static struct mapping_t FolderHelp[] = { {N_("Exit"), OP_EXIT}, {N_("Chdir"), OP_CHANGE_DIRECTORY}, @@ -490,7 +474,7 @@ static int examine_directory (MUTTMENU * menu, struct browser_state *state, add_folder (menu, state, data->group, NULL, data->new); #endif } - sidebar_draw (CurrentMenu); + sidebar_draw (); } else #endif /* USE_NNTP */ @@ -556,7 +540,7 @@ static int examine_directory (MUTTMENU * menu, struct browser_state *state, } closedir (dp); } - sidebar_draw (CurrentMenu); + sidebar_draw (); browser_sort (state); return 0; } @@ -584,7 +568,7 @@ static int examine_mailboxes (MUTTMENU * menu, struct browser_state *state) (!option (OPTSHOWONLYUNREAD)|| data->unread)))) add_folder (menu, state, data->group, NULL, data, data->new); } - sidebar_draw (CurrentMenu); + sidebar_draw (); } else #endif