Tame the number of 'exec' and 'path' search_match wrappers. No functional

change now, though more can likely go later, losing the (paritally complete or
incomplete/broken) argument completion bits.
This commit is contained in:
okan
2016-12-01 20:28:19 +00:00
parent b94f0748d8
commit 94f681fc90
4 changed files with 9 additions and 23 deletions

2
menu.c
View File

@@ -196,7 +196,7 @@ menu_complete_path(struct menu_ctx *mc)
TAILQ_INIT(&menuq);
if ((mi = menu_filter(sc, &menuq, mc->searchstr, NULL,
(CWM_MENU_DUMMY), search_match_path_any, NULL)) != NULL) {
(CWM_MENU_DUMMY), search_match_path, NULL)) != NULL) {
mr->abort = mi->abort;
mr->dummy = mi->dummy;
if (mi->text[0] != '\0')