summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-03-01 17:10:48 +0000
committerCarl Hetherington <cth@carlh.net>2013-03-01 17:10:48 +0000
commitcbc6c5863ec336f0843a87a71e9d7a25a5e59286 (patch)
tree864a28dcf0333cfabe452f393ba6a03febd9f95d /src/lib
parent3940c9ceea90f99d18792bb9ea6074ca65d7fed9 (diff)
Hopefully fix up gettext in both libdvdomatic and the wx code.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/util.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 892a7fd86..3d70a3122 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -235,7 +235,8 @@ seconds (struct timeval t)
void
dvdomatic_setup ()
{
- bindtextdomain ("libdvdomatic", LOCALE_DIR);
+ bindtextdomain ("libdvdomatic", LOCALE_PREFIX);
+ setlocale (LC_ALL, "");
avfilter_register_all ();