missing. Beware that this change configuration saving output (it used
to be saved in users locale).
this should fix float config options save/load rounding issues. If someone
has a better fix, feel free to do so (but please dont revert a commit and
provide no alternative fix)
#endif
setlocale( LC_ALL, psz_lang );
+ setlocale(LC_NUMERIC, "C" );
}
/* Specify where to find the locales for current domain */
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 )
{
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 );