From 4ee62709654b6902673af81eb46564873da7d8a1 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 1 Jun 2001 20:20:22 +0000 Subject: 'Y' answer shouldn't be case-sensitive git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1533 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-settings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fe-common/core/fe-settings.c b/src/fe-common/core/fe-settings.c index 5af02ad0..d9bf8c72 100644 --- a/src/fe-common/core/fe-settings.c +++ b/src/fe-common/core/fe-settings.c @@ -266,7 +266,7 @@ static void settings_save_fe(const char *fname) static void settings_save_confirm(const char *line, char *fname) { - if (line[0] == 'Y') + if (toupper(line[0]) == 'Y') settings_save_fe(fname); g_free(fname); } @@ -296,7 +296,7 @@ static void cmd_save(const char *data) static void settings_clean_confirm(const char *line) { - if (line[0] == 'Y') + if (toupper(line[0]) == 'Y') settings_clean_invalid(); } -- cgit v1.2.3