X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fcurs_main.c;h=3fbe0e902a8a83ebc3442c5d303a76703408a042;hp=6648b1a49e600aa53cbaaf50096642945af793d4;hb=c9b049f668148dab6ae90f32de6a4981f673bfa1;hpb=b7a46c16244533f5c6a2d6964a4fbb591ccc5588 diff --git a/lib-ui/curs_main.c b/lib-ui/curs_main.c index 6648b1a..3fbe0e9 100644 --- a/lib-ui/curs_main.c +++ b/lib-ui/curs_main.c @@ -32,7 +32,7 @@ #include #ifdef USE_NNTP -#include +#include "nntp.h" #endif static const char *No_mailbox_is_open = N_("No mailbox is open."); @@ -563,7 +563,6 @@ int mutt_index_menu (void) move (menu->current - menu->top + menu->offset, COLS - 1); mutt_refresh (); -#if defined (USE_SLANG_CURSES) || defined (HAVE_RESIZETERM) if (SigWinch) { mutt_flushinp (); mutt_resize_screen (); @@ -578,10 +577,8 @@ int mutt_index_menu (void) clearok (stdscr, TRUE); continue; } -#endif op = km_dokey (MENU_MAIN); - if (op == -1) continue; /* either user abort or timeout */ @@ -1929,7 +1926,7 @@ int mutt_index_menu (void) case OP_CATCHUP: if (Context && Context->magic == M_NNTP) { if (mutt_newsgroup_catchup (CurrentNewsSrv, - ((NNTP_DATA *) Context->data)->group)) + ((nntp_data_t *) Context->data)->group)) menu->redraw = REDRAW_INDEX | REDRAW_STATUS; } break; @@ -2114,7 +2111,7 @@ int mutt_index_menu (void) _("Reply by mail as poster prefers?")) != M_YES) { if (Context && Context->magic == M_NNTP - && !((NNTP_DATA *) Context->data)->allowed + && !((nntp_data_t *) Context->data)->allowed && query_quadoption (OPT_TOMODERATED, _ ("Posting to this group not allowed, may be moderated. Continue?"))