diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-04-15 20:47:51 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-15 20:47:51 +0200 |
| commit | 613145903b2893c25e5e70c92e9e0dbe367972c3 (patch) | |
| tree | 370f971399e8cda1c0bee89c3bafde3f011f71fb /src/wx/wx_util.cc | |
| parent | 737777d56466ebb52db018f13c4261216c037e5a (diff) | |
fixup! Fix build on macOS 10.8 (wxWidgets 3.0.5).108
Diffstat (limited to 'src/wx/wx_util.cc')
| -rw-r--r-- | src/wx/wx_util.cc | 2 |
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 } } |
