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

Set LC_NUMERIC to C once and for all.

parent 8fcd56ee
......@@ -1920,6 +1920,7 @@ static void SetLanguage ( char const *psz_lang )
setlocale( LC_ALL, psz_lang );
setlocale(LC_NUMERIC, "C" );
}
setlocale( LC_ALL, "C" );
/* Specify where to find the locales for current domain */
#if !defined( SYS_DARWIN ) && !defined( WIN32 ) && !defined( SYS_BEOS )
......
......@@ -758,8 +758,6 @@ int __config_LoadConfigFile( vlc_object_t *p_this, const char *psz_module_name )
char *psz_filename, *psz_homedir, *psz_configfile;
int i_index;
setlocale( LC_NUMERIC, "C" );
psz_configfile = p_this->p_vlc->psz_configfile;
if( !psz_configfile || !psz_configfile )
{
......@@ -1028,8 +1026,6 @@ int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name,
char *psz_filename, *psz_homedir, *psz_configfile;
int i_index;
setlocale( LC_NUMERIC, "C" );
/* Acquire config file lock */
vlc_mutex_lock( &p_this->p_vlc->config_lock );
......
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