Commit c67038de authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not set locale twice (it is already taken care of by VLC),

especially as this is not thread-safe, and not something a library
should ever do.
parent 9ad201ec
......@@ -272,10 +272,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, char *ppsz_argv[] )
/*
* Support for gettext
*/
#ifdef HAVE_LC_MESSAGES
setlocale( LC_MESSAGES, "" );
#endif
setlocale( LC_CTYPE, "" );
LoadMessages ();
/* Translate "C" to the language code: "fr", "en_GB", "nl", "ru"... */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment