diff options
author | okan <okan> | 2013-04-14 16:13:17 +0000 |
---|---|---|
committer | okan <okan> | 2013-04-14 16:13:17 +0000 |
commit | 6f185bb03c3ba0928ba6254485c710103379bd1a (patch) | |
tree | a1ad2c61058ca193942a4a00757ff25bd7c9a784 /menu.c | |
parent | a957ed7c7dcc287afcf33547326717701a0445de (diff) | |
parent | 16ed8bf8e4f561049b732b326f3d0ee475fe13f6 (diff) | |
download | cwm-6f185bb03c3ba0928ba6254485c710103379bd1a.tar.gz cwm-6f185bb03c3ba0928ba6254485c710103379bd1a.tar.xz cwm-6f185bb03c3ba0928ba6254485c710103379bd1a.zip |
cvsimport
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/menu.c b/menu.c index 90652d6..b467ffb 100644 --- a/menu.c +++ b/menu.c @@ -74,6 +74,7 @@ static void menu_draw_entry(struct screen_ctx *, struct menu_ctx *, struct menu_q *, int, int); static int menu_calc_entry(struct screen_ctx *, struct menu_ctx *, int, int); +static struct menu *menu_complete_path(struct menu_ctx *); static int menu_keycode(XKeyEvent *, enum ctltype *, char *); @@ -208,6 +209,7 @@ menu_complete_path(struct menu_ctx *mc) mr = xcalloc(1, sizeof(*mr)); TAILQ_INIT(&menuq); + if ((mi = menu_filter(mc->sc, &menuq, mc->searchstr, NULL, CWM_MENU_DUMMY, search_match_path_any, NULL)) != NULL) { mr->abort = mi->abort; |