summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-08-04 15:18:05 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-08-04 15:18:05 +0200
commitd987c94909165ed93f0bd052bfd363f68df21cce (patch)
tree403fd1b93eda299475701dde36f040f12c0c2062
parent15cc1733e0e7bf005362fad61a3ccbbefe1cbceb (diff)
downloadvdr-d987c94909165ed93f0bd052bfd363f68df21cce.tar.gz
vdr-d987c94909165ed93f0bd052bfd363f68df21cce.tar.bz2
Fixed recognizing 'Receiving()'
-rw-r--r--device.c4
1 files 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;