freebsd-ports/multimedia/vdr/files/patch-menu.c
Juergen Lock 912175354a Add two fixes for device bonding. (locking and OSD LNB setup menu)
Obtained from:	upstream author via vdr mailinglist
2013-02-20 20:20:23 +00:00

11 lines
471 B
C

--- menu.c.orig
+++ menu.c
@@ -2938,6 +2938,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;
}
}