mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
Passing by: Remove X_LOCALE refs
We don't link to any X11 libs, so this is most likely unneeded.
This commit is contained in:
@@ -3406,7 +3406,7 @@ char_u * enc_locale(void)
|
||||
if (!(s = nl_langinfo(CODESET)) || *s == NUL)
|
||||
# endif
|
||||
{
|
||||
# if defined(HAVE_LOCALE_H) || defined(X_LOCALE)
|
||||
# if defined(HAVE_LOCALE_H)
|
||||
if (!(s = setlocale(LC_CTYPE, NULL)) || *s == NUL)
|
||||
# endif
|
||||
{
|
||||
|
Reference in New Issue
Block a user