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:
2
menu.c
2
menu.c
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user