]> git.sesse.net Git - vlc/commit
Don't set LC_NUMERIC in the wxWidgets plugin.
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 14 Aug 2005 16:28:59 +0000 (16:28 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 14 Aug 2005 16:28:59 +0000 (16:28 +0000)
commit4c7fa38924e4578378ab31d4d49d184ff72560a0
treeddc06f0186aada20439a3f90b98cdff25071f50d
parent479fd822c6c8ff6655f1967161425568c78d1b3c
Don't set LC_NUMERIC in the wxWidgets plugin.

It's already set to C globally because there are a bunch of things that
assume US-style float numbers formatting (config file, RTSP VoD server
to name a few) -- see SetLanguage() in libvlc.

If you want to get a float from the user, you can look for the comma
and replace it with a dot before parsing. However keep in mind that the
stream output parser already uses the comma to separate options; that's
yet another reason to use the dot in any case.

Also, I don't know if some remote locales use neither dot nor comma as
their decimal point.
modules/gui/wxwidgets/wxwidgets.cpp