diff options
-rw-r--r-- | HISTORY | 3 | ||||
-rw-r--r-- | skinlcars.c | 4 |
2 files changed, 4 insertions, 3 deletions
@@ -7870,7 +7870,7 @@ Video Disk Recorder Revision History and also to use the correct directory with --edit (the latter reported by Marko Mäkelä). -2014-03-09: Version 2.0.6 +2014-03-10: Version 2.0.6 - Updated 'sources.conf' (thanks to Antti Hartikainen). - cFont::CreateFont() now returns a dummy font in case there are no fonts installed. @@ -7906,3 +7906,4 @@ Video Disk Recorder Revision History taken into account when regenerating the index of a recording. - Fixed adding new source types in case they are already registered (reported by Rolf Ahrenberg). +- Fixed drawing the live indicator in the LCARS skin in case there are no devices. diff --git a/skinlcars.c b/skinlcars.c index 6ee24f27..8c949b3c 100644 --- a/skinlcars.c +++ b/skinlcars.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: skinlcars.c 2.21.1.3 2013/11/16 13:28:19 kls Exp $ + * $Id: skinlcars.c 2.21.1.4 2014/03/10 12:12:19 kls Exp $ */ // "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures, @@ -1298,7 +1298,7 @@ void cSkinLCARSDisplayMenu::DrawLiveIndicator(void) if (initial || y != lastLiveIndicatorY || Transferring != lastLiveIndicatorTransferring) { if (lastLiveIndicatorY >= 0) osd->DrawRectangle(xs12, lastLiveIndicatorY, xs13 - 1, lastLiveIndicatorY + lineHeight - 1, Theme.Color(clrBackground)); - if (y >= 0) { + if (y > 0) { tColor ColorBg = Theme.Color(clrChannelFrameBg); osd->DrawRectangle(xs12, y, xs12 + lineHeight / 2 - 1, y + lineHeight - 1, ColorBg); osd->DrawEllipse (xs12 + lineHeight / 2, y, xs13 - 1, y + lineHeight - 1, ColorBg, 5); |