1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed recognizing 'Receiving()'

This commit is contained in:
Klaus Schmidinger 2002-08-04 15:18:05 +02:00
parent 15cc1733e0
commit d987c94909

View File

@ -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;