summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index a287258..e1875fa 100644
--- a/src/main.c
+++ b/src/main.c
@@ -268,10 +268,10 @@ init_defaults (void)
#endif
#ifdef HAVE_LANGINFO_CODESET
- defaults.utf8_locale = !strcmp (nl_langinfo (CODESET), "UTF-8");
+ utf8_locale = !strcmp (nl_langinfo (CODESET), "UTF-8");
#endif
PRINT_DEBUG (("UTF-8 locale detected: %s\n",
- defaults.utf8_locale ? "yes" : "no"));
+ utf8_locale ? "yes" : "no"));
defaults.fgcolor_string = xstrdup ("black");
defaults.bgcolor_string = xstrdup ("white");