summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/nconf.c
diff options
context:
space:
mode:
authorBenjamin Poirier <bpoirier@suse.de>2012-08-23 14:55:06 -0400
committerMichal Marek <mmarek@suse.cz>2012-09-27 18:09:24 +0200
commit5e609addb1bd963ce1a1929f2012c8dd04ca8620 (patch)
tree6ec819fc7af3de4bfcddb3f42c2a2c0121ed2653 /scripts/kconfig/nconf.c
parent1d1e2caebbf1f4f25ad473e90650cdc9291fdd22 (diff)
downloadlinux-5e609addb1bd963ce1a1929f2012c8dd04ca8620.tar.gz
linux-5e609addb1bd963ce1a1929f2012c8dd04ca8620.tar.bz2
linux-5e609addb1bd963ce1a1929f2012c8dd04ca8620.zip
menuconfig: Add jump keys to search results
makes it possible to jump directly to the menu for a configuration entry after having searched for it with '/'. If this menu is not currently accessible we jump to the nearest accessible parent instead. After exiting this menu, the user is returned to the search results where he may jump further in or elsewhere. Signed-off-by: Benjamin Poirier <bpoirier@suse.de> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/nconf.c')
-rw-r--r--scripts/kconfig/nconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c
index 1704a8562a5d..87d4b15da951 100644
--- a/scripts/kconfig/nconf.c
+++ b/scripts/kconfig/nconf.c
@@ -721,7 +721,7 @@ again:
dialog_input += strlen(CONFIG_);
sym_arr = sym_re_search(dialog_input);
- res = get_relations_str(sym_arr);
+ res = get_relations_str(sym_arr, NULL);
free(sym_arr);
show_scroll_win(main_window,
_("Search Results"), str_get(&res));