]> git.sesse.net Git - vlc/commitdiff
re fix the stupid float ","/"." error. Please don't break it once again
authorAntoine Cellerier <dionoea@videolan.org>
Tue, 25 Oct 2005 09:08:28 +0000 (09:08 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Tue, 25 Oct 2005 09:08:28 +0000 (09:08 +0000)
(fixes #406)

src/libvlc.c

index 2462e084fe0f5dac685a37baa88cbaa761eb2b69..d6c646fba6aab26038a9d5c2694dd0f5c4116cc7 100644 (file)
@@ -451,6 +451,8 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
 #if defined( ENABLE_NLS ) \
      && ( defined( HAVE_GETTEXT ) || defined( HAVE_INCLUDED_GETTEXT ) )
 
+    setlocale( LC_NUMERIC, "" );
+
     /* This ain't really nice to have to reload the config here but it seems
      * the only way to do it. */
     config_LoadConfigFile( p_vlc, "main" );