summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}