diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2014-03-10 12:09:52 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2014-03-10 12:09:52 +0100 |
commit | ebdac2ddfcf810dac5305e74423b22a5e7a7848b (patch) | |
tree | 554d6ccf8bf51e550dae62df655ba6d44a6d6dee /skinlcars.c | |
parent | caf708b6184e31de7e88578f764322ec976ef22d (diff) | |
download | vdr-ebdac2ddfcf810dac5305e74423b22a5e7a7848b.tar.gz vdr-ebdac2ddfcf810dac5305e74423b22a5e7a7848b.tar.bz2 |
Fixed drawing the live indicator in the LCARS skin in case there are no devices
Diffstat (limited to 'skinlcars.c')
-rw-r--r-- | skinlcars.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skinlcars.c b/skinlcars.c index d652251e..e9d1e28f 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 3.6 2013/11/16 13:20:19 kls Exp $ + * $Id: skinlcars.c 3.7 2014/03/10 12:04:06 kls Exp $ */ // "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures, @@ -1361,7 +1361,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); |