From 613145903b2893c25e5e70c92e9e0dbe367972c3 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 15 Apr 2024 20:47:51 +0200 Subject: fixup! Fix build on macOS 10.8 (wxWidgets 3.0.5). --- src/wx/wx_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } } -- cgit v1.2.3