diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2019-05-28 15:54:22 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2019-05-28 15:54:22 +0200 |
commit | c2634a7ccf815bedc26671b803dc571f0544fc73 (patch) | |
tree | a1624fe6c0da3ffbdbbbd3d37f4dfd4b1b645e79 /mtd.c | |
parent | e8ae4afd0961cc93cbca3830fe065f6da9d806c9 (diff) | |
download | vdr-c2634a7ccf815bedc26671b803dc571f0544fc73.tar.gz vdr-c2634a7ccf815bedc26671b803dc571f0544fc73.tar.bz2 |
Fixed inconsistent behavior in case only certain devices are used (selected by the '-D' option)
Diffstat (limited to 'mtd.c')
-rw-r--r-- | mtd.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: mtd.c 1.13 2019/05/05 13:56:46 kls Exp $ + * $Id: mtd.c 1.14 2019/05/28 14:59:47 kls Exp $ */ #include "mtd.h" @@ -127,11 +127,11 @@ bool cMtdHandler::IsActivating(void) return false; } -bool cMtdHandler::Devices(cVector<int> &CardIndexes) +bool cMtdHandler::Devices(cVector<int> &DeviceNumbers) { for (int i = 0; i < camSlots.Size(); i++) - camSlots[i]->Devices(CardIndexes); - return CardIndexes.Size() > 0; + camSlots[i]->Devices(DeviceNumbers); + return DeviceNumbers.Size() > 0; } void cMtdHandler::UnAssignAll(void) |