diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-03 19:23:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-03 19:23:20 +0100 |
| commit | 6198597b190c3c730057bee54e0421fcd7bcb795 (patch) | |
| tree | 373a2b155e473687d502b6d4655c4eb75c91f7d0 /src/tools | |
| parent | 9c3e4462d32c726a6c257b0a40e642ab23d9526a (diff) | |
Film viewer kind of working.
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 a78d03794..a0e7f0de8 100644 --- a/src/tools/dvdomatic.cc +++ b/src/tools/dvdomatic.cc @@ -449,7 +449,9 @@ setup_i18n () if (Config::instance()->language()) { wxLanguageInfo const * li = wxLocale::FindLanguageInfo (std_to_wx (Config::instance()->language().get())); - language = li->Language; + if (li) { + language = li->Language; + } } if (wxLocale::IsAvailable (language)) { |
