summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-06-01 20:20:22 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-06-01 20:20:22 +0000
commit4ee62709654b6902673af81eb46564873da7d8a1 (patch)
treec8c3b84ef05b1548894d4c4f1cb916a954c7b921
parente403244a2d10f82862d88c24dbceeed02874fba9 (diff)
downloadirssi-4ee62709654b6902673af81eb46564873da7d8a1.zip
'Y' answer shouldn't be case-sensitive
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1533 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/fe-common/core/fe-settings.c4
1 files 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();
}