diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-02-19 09:48:54 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-02-19 09:48:54 +0100 |
commit | 39ad232ee59bb860fd6f29aeba8067e8ad2a0bdb (patch) | |
tree | b130797388713b77b1559d5bfc774e30e9918fd6 /menu.c | |
parent | 20654b12ed8ce34f840f4c086d1961dcc6e50b50 (diff) | |
download | vdr-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; } } |