diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2017-09-17 19:28:31 +0200 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2017-09-17 19:46:06 +0200 |
commit | 9b7cfb7c8d8d337554ad7c5995ce75fac52c7d54 (patch) | |
tree | d2984feb328e1c2a05c80c75d1dd8032dafbb95b /src/main.c | |
parent | 997bb3428312779a6f5af0264fa772407184ec17 (diff) | |
download | ratpoison-9b7cfb7c8d8d337554ad7c5995ce75fac52c7d54.zip |
Move utf8_locale to its own file
So that we can easily use it from tests.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); |