summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/wx_util.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc
index ea8255f81..e9c07c91f 100644
--- a/src/wx/wx_util.cc
+++ b/src/wx/wx_util.cc
@@ -271,11 +271,9 @@ dcpomatic_setup_i18n ()
locale->AddCatalogLookupPathPrefix (std_to_wx (mo_path().string()));
#endif
-#ifdef DCPOMATIC_POSIX
+#ifdef DCPOMATIC_LINUX
locale->AddCatalogLookupPathPrefix (LINUX_LOCALE_PREFIX);
-#endif
-#ifdef DCPOMATIC_LINUX
/* We have to include the wxWidgets .mo in our distribution,
so we rename it to avoid clashes with any other installation
of wxWidgets.