diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-07-18 11:39:17 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-07-18 11:39:17 +0200 |
commit | bee9f130245b6a269f95cf5910066eee7dd58bc7 (patch) | |
tree | 06daffcdbc754373d48ac90da8d367712a24d2d4 /skinsttng.c | |
parent | 1d1d202eef1891e28403ca132b7628e460731493 (diff) | |
download | vdr-bee9f130245b6a269f95cf5910066eee7dd58bc7.tar.gz vdr-bee9f130245b6a269f95cf5910066eee7dd58bc7.tar.bz2 |
The 'radio' channel icon is now only displayed in the ST:TNG skin if the channel actually has an APID1.3.12
Diffstat (limited to 'skinsttng.c')
-rw-r--r-- | skinsttng.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skinsttng.c b/skinsttng.c index ec7cac73..f80175f8 100644 --- a/skinsttng.c +++ b/skinsttng.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: skinsttng.c 1.5 2004/05/31 14:09:00 kls Exp $ + * $Id: skinsttng.c 1.6 2004/07/18 11:32:42 kls Exp $ */ // Star Trek: The Next Generation® is a registered trademark of Paramount Pictures @@ -240,7 +240,7 @@ void cSkinSTTNGDisplayChannel::SetChannel(const cChannel *Channel, int Number) x -= bmTeletext.Width() + d; osd->DrawBitmap(x, y0 + (y1 - y0 - bmTeletext.Height()) / 2, bmTeletext, Theme.Color(Channel->Tpid() ? clrChannelSymbolOn : clrChannelSymbolOff), frameColor); } - else { + else if (Channel->Apid1()) { x -= bmRadio.Width() + d; osd->DrawBitmap(x, y0 + (y1 - y0 - bmRadio.Height()) / 2, bmRadio, Theme.Color(clrChannelSymbolOn), frameColor); } |