diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-06-08 18:36:13 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-06-08 18:36:13 +0000 |
commit | efcc33d442b9510295277204025d661c6e804fda (patch) | |
tree | 2598e1d30ee606841fddab22ae9c86ff6e454572 /init.c | |
parent | 339a10de61a79439154d60643efc738192a9ff90 (diff) |
Fix up the value returned by nl_langinfo(CODESET).
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -50,10 +50,6 @@ #include <errno.h> #include <sys/wait.h> -#ifdef HAVE_LANGINFO_CODESET -#include <langinfo.h> -#endif - void toggle_quadoption (int opt) { int n = opt/4; @@ -1814,7 +1810,7 @@ void mutt_init (int skip_sys_rc, LIST *commands) } #ifdef HAVE_LANGINFO_CODESET - Charset = safe_strdup (nl_langinfo (CODESET)); + mutt_set_langinfo_charset (); #else Charset = safe_strdup ("iso-8859-1"); #endif |