X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fquery.c;h=01a9f2dedad4afd1a843952169bdc2fac19c527f;hp=d1933f8e8efbc659e573d12354c85ffb002d6dc2;hb=dd5354f76c36f71044f6ddeee61241691c7195ff;hpb=b8e3053577ab5d351882096830421cd55639cc97 diff --git a/lib-ui/query.c b/lib-ui/query.c index d1933f8..01a9f2d 100644 --- a/lib-ui/query.c +++ b/lib-ui/query.c @@ -31,16 +31,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 +240,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 +250,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 +312,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)