summaryrefslogtreecommitdiff
path: root/libs/fluidsynth/src/fluid_settings.c
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2016-08-21 21:52:04 +1000
committerTim Mayberry <mojofunk@gmail.com>2016-08-24 20:42:56 +1000
commitb4242702086e46f56a3862900878d94afb0b434f (patch)
tree78163adbae7998cbac76bf75277e9081066eef0d /libs/fluidsynth/src/fluid_settings.c
parentaa349d3f8c112b407d19bf09fb50a20940331295 (diff)
Fix string to float conversion when typing gain values in Gain Meter
Remove the LocaleGuard so that the value of LC_NUMERIC is that of the users locale and sscanf will parse the string correctly. For instance, with a locale like nl_NL or fr_FR where the decimal point is different than the "C" locale, only the number up to the decimal point will be parsed by sscanf and input values will be rounded down.
Diffstat (limited to 'libs/fluidsynth/src/fluid_settings.c')
0 files changed, 0 insertions, 0 deletions