summaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorStone <syphyr@gmail.com>2009-01-03 21:50:31 +0200
committerVille Skyttä <ville.skytta@iki.fi>2009-01-03 21:50:31 +0200
commita056f044df6abf32ce5fb663cf5ad302acbe46b8 (patch)
tree4dc89230131e9aaf09c4e71aa7934ebf7fd99539 /status.c
parent0bb8af583951e51284eb7363e2748f7322c70020 (diff)
downloadvdr-plugin-text2skin-a056f044df6abf32ce5fb663cf5ad302acbe46b8.tar.gz
vdr-plugin-text2skin-a056f044df6abf32ce5fb663cf5ad302acbe46b8.tar.bz2
Make compatible with VDR >= 1.5.7.
Diffstat (limited to 'status.c')
-rw-r--r--status.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/status.c b/status.c
index bebcf93..282fac6 100644
--- a/status.c
+++ b/status.c
@@ -109,8 +109,13 @@ void cText2SkinStatus::Recording(const cDevice *Device, const char *Name,
void cText2SkinStatus::OsdClear(void)
{
+#if VDRVERSNUM >= 10507
+ if (I18nCurrentLanguage() != mLastLanguage) {
+ mLastLanguage = I18nCurrentLanguage();
+#else
if (Setup.OSDLanguage != mLastLanguage) {
mLastLanguage = Setup.OSDLanguage;
+#endif
cxString::Reparse();
}
}