summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-21 12:04:55 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-21 12:04:55 +0200
commitc6af8125c7593b3ca104bf1feac0d814fe76d92d (patch)
treeaee5f5129d4f8a45b6b5dba2b33fe792b594b07b /src/ex_cmds2.c
parent218116c1d0bacf1bceb93699258c23308617b43c (diff)
Other solution for GTK not changing the locale.
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 92451b5e12..e5ce640e23 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -4159,18 +4159,6 @@ ex_language(eap)
set_helplang_default(mname);
#endif
}
-
- /* Set $LC_CTYPE, because it overrules $LANG, and
- * gtk_set_locale() calls setlocale() again. gnome_init()
- * sets $LC_CTYPE to "en_US" (that's a bug!). */
- if (what != VIM_LC_MESSAGES)
- vim_setenv((char_u *)"LC_CTYPE", name);
-# ifdef FEAT_GUI_GTK
- /* Let GTK know what locale we're using. Not sure this is
- * really needed... */
- if (gui.in_use)
- (void)gtk_set_locale();
-# endif
}
# ifdef FEAT_EVAL