From d987c94909165ed93f0bd052bfd363f68df21cce Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 4 Aug 2002 15:18:05 +0200 Subject: [PATCH] Fixed recognizing 'Receiving()' --- device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device.c b/device.c index 5b9fb6be..f70ca045 100644 --- a/device.c +++ b/device.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 1.7 2002/08/04 12:32:49 kls Exp $ + * $Id: device.c 1.8 2002/08/04 15:18:05 kls Exp $ */ #include "device.h" @@ -478,7 +478,7 @@ int cDevice::ProvidesCa(int Ca) bool cDevice::Receiving(void) { for (int i = 0; i < MAXRECEIVERS; i++) { - if (receiver[i] && receiver[i]->priority > 0) // cReceiver with priority < 0 doesn't count + if (receiver[i] && receiver[i]->priority >= 0) // cReceiver with priority < 0 doesn't count return true; } return false;