diff options
author | okan | 2016-12-01 20:28:19 +0000 |
---|---|---|
committer | okan | 2016-12-01 20:28:19 +0000 |
commit | 29118bc5f2d3da806407827df4b689bd80838a6f (patch) | |
tree | 82a1a451679725d504bd4643f0d6ac9d8c01eb59 /menu.c | |
parent | 3e1ab95fb333a1c4cca76dfb5f2dc3bef7214bc2 (diff) | |
download | cwm-29118bc5f2d3da806407827df4b689bd80838a6f.tar.gz |
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.
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: menu.c,v 1.98 2016/10/24 20:44:08 okan Exp $ + * $OpenBSD: menu.c,v 1.99 2016/12/01 20:28:19 okan Exp $ */ #include <sys/types.h> @@ -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') |