]> git.sesse.net Git - vlc/blobdiff - src/libvlc.c
Do not alter LC_NUMERIC (refs #581).
[vlc] / src / libvlc.c
index 9f89c3124be750b5a8551b10839110827e3311af..1cadf12ebec4c23adcadc910125bb0c5f76a12ff 100644 (file)
@@ -2000,10 +2000,6 @@ static void SetLanguage ( char const *psz_lang )
 #endif
 
         setlocale( LC_ALL, psz_lang );
-        /* many code paths assume that float numbers are formatted according
-         * to the US standard (ie. with dot as decimal point), so we keep
-         * C for LC_NUMERIC. */
-        setlocale( LC_NUMERIC, "C" );
     }
 
     /* Specify where to find the locales for current domain */