diff options
author | Stone <syphyr@gmail.com> | 2009-01-03 21:50:31 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2009-01-03 21:50:31 +0200 |
commit | a056f044df6abf32ce5fb663cf5ad302acbe46b8 (patch) | |
tree | 4dc89230131e9aaf09c4e71aa7934ebf7fd99539 /text2skin.c | |
parent | 0bb8af583951e51284eb7363e2748f7322c70020 (diff) | |
download | vdr-plugin-text2skin-a056f044df6abf32ce5fb663cf5ad302acbe46b8.tar.gz vdr-plugin-text2skin-a056f044df6abf32ce5fb663cf5ad302acbe46b8.tar.bz2 |
Make compatible with VDR >= 1.5.7.
Diffstat (limited to 'text2skin.c')
-rw-r--r-- | text2skin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/text2skin.c b/text2skin.c index be63af4..1fd407e 100644 --- a/text2skin.c +++ b/text2skin.c @@ -25,7 +25,11 @@ cText2SkinPlugin::~cText2SkinPlugin() { bool cText2SkinPlugin::Start(void) { RegisterI18n(Phrases); +#if VDRVERSNUM >= 10507 + Text2SkinStatus.SetLanguage(I18nCurrentLanguage()); +#else Text2SkinStatus.SetLanguage(Setup.OSDLanguage); +#endif cText2SkinLoader::Start(); return true; } |