summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-02-19 09:48:54 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-02-19 09:48:54 +0100
commit39ad232ee59bb860fd6f29aeba8067e8ad2a0bdb (patch)
treeb130797388713b77b1559d5bfc774e30e9918fd6 /menu.c
parent20654b12ed8ce34f840f4c086d1961dcc6e50b50 (diff)
downloadvdr-39ad232ee59bb860fd6f29aeba8067e8ad2a0bdb.tar.gz
vdr-39ad232ee59bb860fd6f29aeba8067e8ad2a0bdb.tar.bz2
Now clearing device bondings for devices that don't provide DVB-S in the Setup/LNB menu
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 69fe6d50..4db68ec7 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 2.79 2013/02/17 13:17:49 kls Exp $
+ * $Id: menu.c 2.80 2013/02/19 09:33:26 kls Exp $
*/
#include "menu.h"
@@ -2965,6 +2965,8 @@ void cMenuSetupLNB::Setup(void)
for (int i = 0; i < cDevice::NumDevices(); i++) {
if (cDevice::GetDevice(i)->ProvidesSource(cSource::stSat))
Add(new cMenuEditIntItem(cString::sprintf(tr("Setup.LNB$Device %d connected to sat cable"), i + 1), &satCableNumbers.Array()[i], 0, NumSatDevices, tr("Setup.LNB$own")));
+ else
+ satCableNumbers.Array()[i] = 0;
}
}