summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Günther <tom@toms-cafe.de>2009-06-07 01:27:52 +0200
committerThomas Günther <tom@toms-cafe.de>2009-06-07 01:27:52 +0200
commit4a07e775e56849879dc256d80187a7580279bac8 (patch)
treefe8786bae46a971352dd44f5a7ac4dfee631196b
parent40602f673a71a1e4c1c867e7bc01e4f21e8666ae (diff)
downloadvdr-plugin-text2skin-4a07e775e56849879dc256d80187a7580279bac8.tar.gz
vdr-plugin-text2skin-4a07e775e56849879dc256d80187a7580279bac8.tar.bz2
Corrected implementation of ReplayLanguageCode
-rw-r--r--HISTORY1
-rw-r--r--status.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index a7ef0de..5e1c577 100644
--- a/HISTORY
+++ b/HISTORY
@@ -69,6 +69,7 @@ ____-__-__: Version 1.3
- Corrected text in setup menu (timer-conflicts are now checked with epgsearch)
- Removed unnecessary yes/no texts from cMenuEditBoolItem calls
- Added translators info
+- Corrected implementation of ReplayLanguageCode
2009-06-01: Version 1.2
diff --git a/status.c b/status.c
index 9b25a7c..7fb4dde 100644
--- a/status.c
+++ b/status.c
@@ -358,7 +358,7 @@ cxType cText2SkinStatus::GetTokenData(const txToken &Token)
const tComponent *c = components->Component(i);
if (c->stream != 2) // only audio-streams
index++;
- {
+ if (i == index) {
std::string buffer(c->language);
if (c->type == 1)
buffer.append("MONO");