diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-03-14 14:32:24 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-03-14 14:32:24 +0000 |
| commit | 1f443a0dc2b79915696a5f789b402c8cfc363d57 (patch) | |
| tree | 9bd6b1cff2a4d1aa8aab7cec1ae7252c4143b9c8 /src | |
| parent | 606672c0229e7ac296ce05621e80a5c6982d8e80 (diff) | |
Revert ea35bff; gives an error on Windows (locale::facet::_S_create_c_locale name not valid).
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/util.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 6f366257c..a6f38147f 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -391,11 +391,6 @@ dcpomatic_setup_gettext_i18n (string lang) 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()); |
