From a056f044df6abf32ce5fb663cf5ad302acbe46b8 Mon Sep 17 00:00:00 2001 From: Stone Date: Sat, 3 Jan 2009 21:50:31 +0200 Subject: Make compatible with VDR >= 1.5.7. --- status.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'status.c') 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(); } } -- cgit v1.2.3