projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge master.
[dcpomatic.git]
/
src
/
lib
/
util.cc
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index 2b6dd766e12840f00f5e38f494e50e763bd4da5c..a7dac9013a3cef53857ccd135b30b0df5c84a3e1 100644
(file)
--- a/
src/lib/util.cc
+++ b/
src/lib/util.cc
@@
-350,6
+350,8
@@
dcpomatic_setup_gettext_i18n (string lang)
putenv (cmd);
snprintf (cmd, sizeof(cmd), "LANG=%s", lang.c_str ());
putenv (cmd);
+ snprintf (cmd, sizeof(cmd), "LC_ALL=%s", lang.c_str ());
+ putenv (cmd);
}
setlocale (LC_ALL, "");