summaryrefslogtreecommitdiff
path: root/extra/config/conf.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-08 00:47:07 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-08 00:47:07 +0000
commite89052ae8b40a4cf531e2273175f359c3c28a56a (patch)
treeec47fb38e0fb50d5b60883cf4a5c9de38fafc362 /extra/config/conf.c
parentd3181d18144c86428e2d1255191ff6a469a1a4ab (diff)
Merge an update from upstream
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;
}