summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/wx_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc
index d31820faa..58bb4d5ea 100644
--- a/src/wx/wx_util.cc
+++ b/src/wx/wx_util.cc
@@ -447,7 +447,7 @@ dcpomatic_setup_i18n()
#if wxCHECK_VERSION(3, 1, 6)
translations->SetLanguage(info->GetCanonicalWithRegion());
#else
- translations->SetLanguage(info->CanonicalRef.empty() ? info->CanonicalName : info->CanonicalRef);
+ translations->SetLanguage(info->CanonicalName);
#endif
}
}