diff options
Diffstat (limited to 'scripts/kconfig/nconf.c')
| -rw-r--r-- | scripts/kconfig/nconf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c index b8a9f37b036b..da5e45d43f15 100644 --- a/scripts/kconfig/nconf.c +++ b/scripts/kconfig/nconf.c | |||
| @@ -744,8 +744,8 @@ static void search_conf(void) | |||
| 744 | again: | 744 | again: |
| 745 | dres = dialog_inputbox(main_window, | 745 | dres = dialog_inputbox(main_window, |
| 746 | _("Search Configuration Parameter"), | 746 | _("Search Configuration Parameter"), |
| 747 | _("Enter CONFIG_ (sub)string to search for " | 747 | _("Enter " CONFIG_ " (sub)string to search for " |
| 748 | "(with or without \"CONFIG\")"), | 748 | "(with or without \"" CONFIG_ "\")"), |
| 749 | "", dialog_input_result, 99); | 749 | "", dialog_input_result, 99); |
| 750 | switch (dres) { | 750 | switch (dres) { |
| 751 | case 0: | 751 | case 0: |
| @@ -758,10 +758,10 @@ again: | |||
| 758 | return; | 758 | return; |
| 759 | } | 759 | } |
| 760 | 760 | ||
| 761 | /* strip CONFIG_ if necessary */ | 761 | /* strip the prefix if necessary */ |
| 762 | dialog_input = dialog_input_result; | 762 | dialog_input = dialog_input_result; |
| 763 | if (strncasecmp(dialog_input_result, "CONFIG_", 7) == 0) | 763 | if (strncasecmp(dialog_input_result, CONFIG_, strlen(CONFIG_)) == 0) |
| 764 | dialog_input += 7; | 764 | dialog_input += strlen(CONFIG_); |
| 765 | 765 | ||
| 766 | sym_arr = sym_re_search(dialog_input); | 766 | sym_arr = sym_re_search(dialog_input); |
| 767 | res = get_relations_str(sym_arr); | 767 | res = get_relations_str(sym_arr); |
| @@ -1261,7 +1261,7 @@ static void show_help(struct menu *menu) | |||
| 1261 | 1261 | ||
| 1262 | if (menu && menu->sym && menu_has_help(menu)) { | 1262 | if (menu && menu->sym && menu_has_help(menu)) { |
| 1263 | if (menu->sym->name) { | 1263 | if (menu->sym->name) { |
| 1264 | str_printf(&help, "CONFIG_%s:\n\n", menu->sym->name); | 1264 | str_printf(&help, "%s%s:\n\n", CONFIG_, menu->sym->name); |
| 1265 | str_append(&help, _(menu_get_help(menu))); | 1265 | str_append(&help, _(menu_get_help(menu))); |
| 1266 | str_append(&help, "\n"); | 1266 | str_append(&help, "\n"); |
| 1267 | get_symbol_str(&help, menu->sym); | 1267 | get_symbol_str(&help, menu->sym); |
