aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authorokan2016-12-01 20:28:19 +0000
committerokan2016-12-01 20:28:19 +0000
commit29118bc5f2d3da806407827df4b689bd80838a6f (patch)
tree82a1a451679725d504bd4643f0d6ac9d8c01eb59 /menu.c
parent3e1ab95fb333a1c4cca76dfb5f2dc3bef7214bc2 (diff)
downloadcwm-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 '')
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index b893101..c566304 100644
--- a/menu.c
+++ b/menu.c
@@ -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')