{
bool b_waschecked = false;
wxString newtext = text->GetValue();
-
+
for( unsigned int i = 0 ; i< pp_checkboxes.size() ; i++ )
{
b_waschecked = newtext.Find( wxU(pp_checkboxes[i]->psz_module)) != -1 ;
/* For some reasons, ^^ doesn't compile :( */
if( (pp_checkboxes[i]->checkbox->IsChecked() && ! b_waschecked )||
- (! pp_checkboxes[i]->checkbox->IsChecked() && b_waschecked) )
+ (! pp_checkboxes[i]->checkbox->IsChecked() && b_waschecked) )
{
if( b_waschecked )
{
{
if( ! newtext.Replace(wxString(wxU(pp_checkboxes[i]->psz_module))
+ wxT(":"),wxT("")))
- {
+ {
newtext.Replace(wxU(pp_checkboxes[i]->psz_module),wxU(""));
}
}
locale.Init( wxLANGUAGE_DEFAULT );
/* FIXME: The stream output mrl parsing uses ',' already so we want to
- * keep the default '.' for floating point numbers. */
- setlocale( LC_NUMERIC, "C" );
+ * keep the default '.' for floating point numbers.
+ * XXX (dionoea 13/08/2005) : This breaks prefs handling for floats
+ * setlocale( LC_NUMERIC, "C" ); */
/* Load saved window settings */
p_intf->p_sys->p_window_settings = new WindowSettings( p_intf );
/*
* 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 );
/* Hack: insert the help module here */