X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fquery.c;h=f9bdc7a66895a0dbb4abe09556e68e9569f8e8d6;hp=d1933f8e8efbc659e573d12354c85ffb002d6dc2;hb=1d76b29d79137330c8f42d489fe3f67a23f2390b;hpb=15d63145b9f11a1fa58c74abbeab7533ea2e5d21 diff --git a/lib-ui/query.c b/lib-ui/query.c index d1933f8..f9bdc7a 100644 --- a/lib-ui/query.c +++ b/lib-ui/query.c @@ -7,12 +7,11 @@ * please see the file GPL in the top level source directory. */ -#include +#include #include #include -#include #include "mutt.h" #include "alias.h" @@ -31,16 +30,6 @@ typedef struct entry { QUERY *data; } ENTRY; -static struct mapping_t QueryHelp[] = { - {N_("Exit"), OP_EXIT}, - {N_("Mail"), OP_MAIL}, - {N_("New Query"), OP_QUERY}, - {N_("Make Alias"), OP_CREATE_ALIAS}, - {N_("Search"), OP_SEARCH}, - {N_("Help"), OP_HELP}, - {NULL, OP_NULL} -}; - /* Variables for outsizing output format */ static int FirstColumn; static int SecondColumn; @@ -250,7 +239,6 @@ static void query_menu (char *buf, ssize_t buflen, QUERY * results, int retbuf) QUERY *queryp = NULL; int i, done = 0; int op; - char helpstr[STRING]; char title[STRING]; snprintf (title, sizeof (title), _("Query")); /* FIXME */ @@ -261,8 +249,6 @@ static void query_menu (char *buf, ssize_t buflen, QUERY * results, int retbuf) menu->tag = query_tag; menu->menu = MENU_QUERY; menu->title = title; - menu->help = - mutt_compile_help (helpstr, sizeof (helpstr), MENU_QUERY, QueryHelp); if (results == NULL) { /* Prompt for Query */ @@ -325,9 +311,6 @@ static void query_menu (char *buf, ssize_t buflen, QUERY * results, int retbuf) menu->tag = query_tag; menu->menu = MENU_QUERY; menu->title = title; - menu->help = - mutt_compile_help (helpstr, sizeof (helpstr), MENU_QUERY, - QueryHelp); /* count the number of results */ for (queryp = results; queryp; queryp = queryp->next)