summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-26 00:23:50 +0100
committerCarl Hetherington <cth@carlh.net>2024-12-26 00:27:12 +0100
commitafa10799d8afa41f39dee3388949d4c5e93b5314 (patch)
tree4499c0990b823ae1a4db90bd54a4be7f8545529b
parent03c518e976a2a9a3a3017a4d3bc559cae5537ac1 (diff)
Make fmt respect the configured locale.
-rw-r--r--src/lib/util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 24108f411..d6d15feae 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -546,6 +546,7 @@ dcpomatic_setup_gettext_i18n (string lang)
}
setlocale (LC_ALL, "");
+ std::locale::global(std::locale(""));
textdomain ("libdcpomatic2");
#if defined(DCPOMATIC_WINDOWS) || defined(DCPOMATIC_OSX)