src/zapit/src/femanager.cpp: Fix compile error

This commit is contained in:
M. Liebmann
2017-04-24 22:31:00 +02:00
parent 6a08685b57
commit aaa7b41d0b

View File

@@ -371,7 +371,9 @@ void CFEManager::saveSettings(bool write)
void CFEManager::copySettings(CFrontend * from, CFrontend * to) void CFEManager::copySettings(CFrontend * from, CFrontend * to)
{ {
INFO("Copy settings fe %d -> fe %d", from->fenumber, to->fenumber); INFO("Copy settings fe %d -> fe %d", from->fenumber, to->fenumber);
if (to->config.diseqcType != DISEQC_UNICABLE || to->config.diseqcType != DISEQC_UNICABLE2 || to->getMode() == CFrontend::FE_MODE_LINK_LOOP) if ((to->config.diseqcType != DISEQC_UNICABLE &&
to->config.diseqcType != DISEQC_UNICABLE2) ||
to->getMode() == CFrontend::FE_MODE_LINK_LOOP)
to->config.diseqcType = from->config.diseqcType; to->config.diseqcType = from->config.diseqcType;
to->config.diseqcRepeats = from->config.diseqcRepeats; to->config.diseqcRepeats = from->config.diseqcRepeats;