summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
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 ();