summaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'status.c')
-rw-r--r--status.c12
1 files changed, 10 insertions, 2 deletions
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();
+ }
+}