summaryrefslogtreecommitdiff
path: root/display.c
diff options
context:
space:
mode:
authorAndreas Brugger <brougs78@gmx.net>2005-12-18 12:00:00 +0100
committerThomas Günther <tom@toms-cafe.de>2009-06-03 01:18:35 +0200
commiteeda27b9d069161db0261f6e2f51ac9463bde910 (patch)
tree13168858991dfcfc13c8ac373fc8c9ca6a5db264 /display.c
parentbb39010021b5fd8a1046200839c678afc76227d5 (diff)
downloadvdr-plugin-text2skin-eeda27b9d069161db0261f6e2f51ac9463bde910.tar.gz
vdr-plugin-text2skin-eeda27b9d069161db0261f6e2f51ac9463bde910.tar.bz2
2005-12-18: Version 1.1-cvs_ext-0.4 (vdr-text2skin-1.1-cvs_ext-0.4.diff)
- modified the way, the current replayed recording is determined (status.c: cText2SkinStatus::Replaying) There remains a problem that recordings with the same name cannot be distinguished, so information optained from mReplay are not necessarily correct (all the ones added in vdr-text2skin-1.1-cvs_ext-0.2.diff)
Diffstat (limited to 'display.c')
-rw-r--r--display.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/display.c b/display.c
index 371c4bc..3db4063 100644
--- a/display.c
+++ b/display.c
@@ -16,7 +16,7 @@
cText2SkinDisplayChannel::cText2SkinDisplayChannel(cText2SkinLoader *Loader, bool WithInfo):
cText2SkinRender(Loader, WithInfo ? cxDisplay::channelInfo : cxDisplay::channelSmall),
mFallbackDisplay(NULL),
- mChannel(NULL),
+ mChannel(NULL),
mNumber(0),
mPresent(NULL),
mFollowing(NULL),
@@ -116,9 +116,7 @@ cxType cText2SkinDisplayChannel::GetTokenData(const txToken &Token)
{
switch (Token.Type) {
case tChannelNumber:
- return mChannel != NULL
- ? (cxType)ChannelNumber(mChannel, mNumber)
- : (cxType)false;
+ return (cxType)ChannelNumber(mChannel, mNumber);
case tChannelName:
return mChannel != NULL