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

Undo LC_NUMERIC change

parent d70d55f8
...@@ -332,9 +332,8 @@ bool Instance::OnInit() ...@@ -332,9 +332,8 @@ bool Instance::OnInit()
locale.Init( wxLANGUAGE_DEFAULT ); locale.Init( wxLANGUAGE_DEFAULT );
/* FIXME: The stream output mrl parsing uses ',' already so we want to /* FIXME: The stream output mrl parsing uses ',' already so we want to
* keep the default '.' for floating point numbers. * keep the default '.' for floating point numbers. */
* XXX (dionoea 13/08/2005) : This breaks prefs handling for floats setlocale( LC_NUMERIC, "C" );
* setlocale( LC_NUMERIC, "C" ); */
/* Load saved window settings */ /* Load saved window settings */
p_intf->p_sys->p_window_settings = new WindowSettings( p_intf ); p_intf->p_sys->p_window_settings = new WindowSettings( p_intf );
......
...@@ -529,9 +529,6 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] ) ...@@ -529,9 +529,6 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
/* /*
* Override default configuration with config file settings * Override default configuration with config file settings
*/ */
/* (dionoea 13/08/2005) : we need to load locale here in order to have
* coherent float encoding with subsequent SaveConfigFile calls */
setlocale( LC_NUMERIC, "" );
config_LoadConfigFile( p_vlc, NULL ); config_LoadConfigFile( p_vlc, NULL );
/* Hack: insert the help module here */ /* Hack: insert the help module here */
......
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