summaryrefslogtreecommitdiff
path: root/status.c
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 /status.c
parent40602f673a71a1e4c1c867e7bc01e4f21e8666ae (diff)
downloadvdr-plugin-text2skin-4a07e775e56849879dc256d80187a7580279bac8.tar.gz
vdr-plugin-text2skin-4a07e775e56849879dc256d80187a7580279bac8.tar.bz2
Corrected implementation of ReplayLanguageCode
Diffstat (limited to 'status.c')
-rw-r--r--status.c2
1 files changed, 1 insertions, 1 deletions
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");