diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-03-24 23:24:27 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-03-24 23:24:27 +0000 |
| commit | 17097564ffb940478b2d5519302bc3bb9162a965 (patch) | |
| tree | e131baedf6e4de74ad0b52bb5b0529b7672d2d19 /src/tools | |
| parent | 5925d300db2a237d59645dc26933c14e9bc94b65 (diff) | |
User interface for language selection.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dvdomatic.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/dvdomatic.cc b/src/tools/dvdomatic.cc index 991b4daf8..66f366a24 100644 --- a/src/tools/dvdomatic.cc +++ b/src/tools/dvdomatic.cc @@ -471,7 +471,9 @@ setup_i18n () } } - dvdomatic_setup_i18n (wx_to_std (locale->GetCanonicalName ())); + if (locale) { + dvdomatic_setup_i18n (wx_to_std (locale->GetCanonicalName ())); + } } class App : public wxApp |
