Merge branch 'master' into pu/fb-setmode

This commit is contained in:
M. Liebmann
2017-04-24 22:35:45 +02:00
2 changed files with 4 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/lib/libconfigfile \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/zapit/include \
$(FREETYPE_CFLAGS) \
@FREETYPE_CFLAGS@ \
@SIGC_CFLAGS@ \
@HWLIB_CFLAGS@

View File

@@ -371,7 +371,9 @@ void CFEManager::saveSettings(bool write)
void CFEManager::copySettings(CFrontend * from, CFrontend * to)
{
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.diseqcRepeats = from->config.diseqcRepeats;