X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=curs_main.c;h=54ac43094a86bbcae89f3fd669166506b723286c;hp=cb39d66160810174aec5d9534ceadbe8dbf39e7b;hb=29bf564686b0b8b34e98838087fa382ba811f8fc;hpb=ba5e3af4ea19e1d20c80941c077039871ec84258 diff --git a/curs_main.c b/curs_main.c index cb39d66..54ac430 100644 --- a/curs_main.c +++ b/curs_main.c @@ -20,9 +20,11 @@ #include "mutt_menu.h" #include "mapping.h" #include "sort.h" +#include "recvattach.h" #include "buffy.h" #include "mx.h" #include "sidebar.h" +#include "thread.h" #include "xterm.h" #ifdef USE_POP @@ -339,7 +341,6 @@ static void update_index (MUTTMENU * menu, CONTEXT * ctx, int check, if (menu->current < 0) menu->current = ci_first_message (); - } static void resort_index (MUTTMENU * menu) @@ -1185,15 +1186,15 @@ int mutt_index_menu (void) cp = _("Open newsgroup in read-only mode"); else cp = _("Open newsgroup"); - nntp_buffy (buf); + nntp_buffy (buf, sizeof (buf)); } else #endif { if (Context && Context->path) strncpy (buf, Context->path, sizeof (buf)); - if (op != OP_SIDEBAR_OPEN) - buffy_next (buf, sizeof (buf)); + if (op != OP_SIDEBAR_OPEN) + buffy_next (buf, sizeof (buf)); } if (op == OP_SIDEBAR_OPEN) {