summaryrefslogtreecommitdiff
path: root/extra/config/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'extra/config/conf.c')
-rw-r--r--extra/config/conf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/config/conf.c b/extra/config/conf.c
index bf82f6664..910d52ce6 100644
--- a/extra/config/conf.c
+++ b/extra/config/conf.c
@@ -115,6 +115,7 @@ static void conf_askvalue(struct symbol *sym, const char *def)
exit(1);
}
case ask_all:
+ fflush(stdout);
fgets(line, 128, stdin);
return;
case set_default:
@@ -364,7 +365,7 @@ static int conf_choice(struct menu *menu)
for (cmenu = menu->list; cmenu; cmenu = cmenu->next) {
if (!cmenu->sym || !menu_is_visible(cmenu))
continue;
- if (!strncmp(line, menu_get_prompt(cmenu), len)) {
+ if (!strncasecmp(line, menu_get_prompt(cmenu), len)) {
def_menu = cmenu;
break;
}