Fix string to float conversion when typing gain values in Gain Meter
authorTim Mayberry <mojofunk@gmail.com>
Sun, 21 Aug 2016 11:52:04 +0000 (21:52 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Wed, 24 Aug 2016 10:42:56 +0000 (20:42 +1000)
commitb4242702086e46f56a3862900878d94afb0b434f
tree78163adbae7998cbac76bf75277e9081066eef0d
parentaa349d3f8c112b407d19bf09fb50a20940331295
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.
gtk2_ardour/gain_meter.cc