Revert ea35bff; gives an error on Windows (locale::facet::_S_create_c_locale name...
authorCarl Hetherington <cth@carlh.net>
Mon, 14 Mar 2016 14:32:24 +0000 (14:32 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 14 Mar 2016 14:32:24 +0000 (14:32 +0000)
src/lib/util.cc

index 6f366257cf7556648d6401f20a00262d604fc319..a6f38147fc8ae7d72d1d0e0e92a9fea8b751a1f0 100644 (file)
@@ -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());