summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--skinsttng.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 5f7a344e..232d2499 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2964,3 +2964,5 @@ Video Disk Recorder Revision History
- Now storing the name of the service provider (aka "bouquet") in the channel
name, separated by a semicolon (see man vdr(5) for details). Explicit usage
of the various parts of the channel name is yet to come.
+- The 'radio' channel icon is now only displayed in the ST:TNG skin if the channel
+ actually has an APID.
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);
}