summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-07-22 15:17:51 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-07-22 15:17:51 +0200
commit9323eea670acaaee3b5d913564096f6beb01bb75 (patch)
tree52dfeaf58f59ce1df7db59835d76e014b28bd690 /menu.c
parent37ed2c31e710c598e66bc602be18e893d216d48f (diff)
downloadvdr-9323eea670acaaee3b5d913564096f6beb01bb75.tar.gz
vdr-9323eea670acaaee3b5d913564096f6beb01bb75.tar.bz2
Fixed handling group separator at beginning of 'channels.conf'0.8.4
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/menu.c b/menu.c
index d06905f2..b58a61b4 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.79 2001/07/22 13:46:07 kls Exp $
+ * $Id: menu.c 1.80 2001/07/22 15:16:58 kls Exp $
*/
#include "menu.h"
@@ -1829,11 +1829,11 @@ cDisplayChannel::~cDisplayChannel()
void cDisplayChannel::DisplayChannel(const cChannel *Channel)
{
- if (Channel && Channel->number)
+ if (Channel && Channel->number > 0)
Interface->DisplayChannelNumber(Channel->number);
int BufSize = Width() + 1;
char buffer[BufSize];
- if (Channel && Channel->number)
+ if (Channel && Channel->number > 0)
snprintf(buffer, BufSize, "%d%s %s", Channel->number, number ? "-" : "", Channel->name);
else
snprintf(buffer, BufSize, "%s", Channel ? Channel->name : tr("*** Invalid Channel ***"));