From 7c9181bf95fedb7a4b4ab40c31aaa841ead074ed Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Sun, 2 Jan 2005 16:54:41 +0000 Subject: *** empty log message *** --- status.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'status.c') diff --git a/status.c b/status.c index 8d83072..5df11ee 100644 --- a/status.c +++ b/status.c @@ -1,5 +1,5 @@ /* - * $Id: status.c,v 1.3 2004/12/21 20:26:25 lordjaxom Exp $ + * $Id: status.c,v 1.4 2005/01/02 16:54:41 lordjaxom Exp $ */ #include "status.h" @@ -16,7 +16,8 @@ cText2SkinStatus::cText2SkinStatus(void): mReplayMode(replayNone), mRecordings(), mCurrentRecording(0), - mNextRecording(0) + mNextRecording(0), + mLastLanguage(Setup.OSDLanguage) { mStatus = this; } @@ -139,3 +140,10 @@ cxType cText2SkinStatus::GetTokenData(const txToken &Token) return cxType::False; } + +void cText2SkinStatus::OsdClear(void) { + if (Setup.OSDLanguage != mLastLanguage) { + mLastLanguage = Setup.OSDLanguage; + cxString::Reparse(); + } +} -- cgit v1.2.3