summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-02 04:44:06 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-02 04:44:06 +0000
commit29f0531550ba354381e49f2e5a35c727921469c9 (patch)
tree7df635021c51f47e9d61af9bae06a0b3562bcb42 /src
parente4d67a1bc4f7826dea67450619898718df4d0bf9 (diff)
downloadirssi-29f0531550ba354381e49f2e5a35c727921469c9.zip
Use langinfo.h's nl_langinfo(YESEXPR) instead of 'Y'.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@912 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/fe-settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-settings.c b/src/fe-common/core/fe-settings.c
index 15968002..5a7b2b64 100644
--- a/src/fe-common/core/fe-settings.c
+++ b/src/fe-common/core/fe-settings.c
@@ -256,7 +256,7 @@ static void settings_save_fe(const char *fname)
static void settings_save_confirm(const char *line, char *fname)
{
- if (toupper(*line) == 'Y')
+ if (toupper(*line) == nl_langinfo(YESEXPR))
settings_save_fe(fname);
g_free(fname);
}