+2016-03-13 Carl Hetherington <cth@carlh.net>
+
+ * Fix crash when using non-English decimal separators
+ in the audio gain calculator dialogue (#824).
+
2016-03-12 Carl Hetherington <cth@carlh.net>
* Add 2.35:1 ratio.
setlocale (LC_ALL, "");
textdomain ("libdcpomatic2");
+ /* This sets up the locale to be used by lexical_cast (and probably other stuff);
+ used by e.g. the audio gain calculator dialogue where we lexical_cast floating
+ point values.
+ */
+ std::locale::global (std::locale (""));
#if defined(DCPOMATIC_WINDOWS) || defined(DCPOMATIC_OSX)
bindtextdomain ("libdcpomatic2", mo_path().string().c_str());