]> git.sesse.net Git - vlc/commit
Disclaimer : this commit would need to be checked by someone
authorAntoine Cellerier <dionoea@videolan.org>
Sat, 13 Aug 2005 15:03:21 +0000 (15:03 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sat, 13 Aug 2005 15:03:21 +0000 (15:03 +0000)
commit6e256bcc567c256269138419be486a834df77db9
tree8675c422cc67a734b164e33bd322ba4b3fa02985
parente43b548b9f2b1519be8e49f83f93d1a12b4fe8c7
Disclaimer : this commit would need to be checked by someone

Change locale (LC_NUMERIC) in appropriate places so we always use the
user's locale when reading/writting floats to config (otherwise it would
read floats using C locale (float separator is . in C) and write them
using the user's local (float separator can be , instead of .))

If these changes aren't ok, then i think that the only solution would be
to always setlocale(LC_NUMERIC, "C") when handling config str<->float
conversions.
modules/gui/wxwidgets/preferences_widgets.cpp
modules/gui/wxwidgets/wxwidgets.cpp
src/libvlc.c