X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=postpone.c;h=e5a3629d285f02ca46305551fe33cc360a4b9a60;hp=68857c2875943aa2ab5d1897cb7200d9c53e6c9e;hb=36dba66c0164ad809efec4e8e15d7290f0882bb2;hpb=9946738a6a1c27a5602a14d1afe2eea2389732b2 diff --git a/postpone.c b/postpone.c index 68857c2..e5a3629 100644 --- a/postpone.c +++ b/postpone.c @@ -27,16 +27,6 @@ #include -static struct mapping_t PostponeHelp[] = { - {N_("Exit"), OP_EXIT}, - {N_("Del"), OP_DELETE}, - {N_("Undel"), OP_UNDELETE}, - {N_("Help"), OP_HELP}, - {NULL, OP_NULL} -}; - - - static short PostCount = 0; static CONTEXT *PostContext = NULL; static short UpdateNumPostponed = 0; @@ -132,17 +122,14 @@ void mutt_update_num_postponed (void) static void post_entry (char *s, ssize_t slen, MUTTMENU * menu, int entry) { - CONTEXT *ctx = (CONTEXT *) menu->data; - - _mutt_make_string (s, slen, NONULL (HdrFmt), ctx, ctx->hdrs[entry], - option(OPTARROWCURSOR) ? M_FORMAT_ARROWCURSOR : 0); + CONTEXT *ctx = (CONTEXT *)menu->data; + _mutt_make_string(s, slen, NONULL (HdrFmt), ctx, ctx->hdrs[entry], 0); } static HEADER *select_msg (void) { MUTTMENU *menu; int i, done = 0, r = -1; - char helpstr[STRING]; short orig_sort; menu = mutt_new_menu (); @@ -151,8 +138,6 @@ static HEADER *select_msg (void) menu->max = PostContext->msgcount; menu->title = _("Postponed Messages"); menu->data = PostContext; - menu->help = - mutt_compile_help (helpstr, sizeof (helpstr), MENU_POST, PostponeHelp); /* The postponed mailbox is setup to have sorting disabled, but the global * Sort variable may indicate something different. Sorting has to be