summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-03-24 23:24:27 +0000
committerCarl Hetherington <cth@carlh.net>2013-03-24 23:24:27 +0000
commit17097564ffb940478b2d5519302bc3bb9162a965 (patch)
treee131baedf6e4de74ad0b52bb5b0529b7672d2d19 /src/tools
parent5925d300db2a237d59645dc26933c14e9bc94b65 (diff)
User interface for language selection.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dvdomatic.cc4
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