zapit/src/getservices.cpp: fix FindChannelFuzzy for mixed frontends

Origin commit data
------------------
Commit: 4e2a08dba4
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-04-02 (Tue, 02 Apr 2013)
This commit is contained in:
[CST] Focus
2013-04-02 14:30:28 +04:00
parent 5545ae8ad9
commit 03226d57d5

View File

@@ -237,7 +237,7 @@ CZapitChannel* CServiceManager::FindChannelFuzzy(const t_channel_id channel_id,
* to choose from and people are wondering why their ubouquets are no longer
* working => because they had the wrong 's="x"' attribute.
* TODO: think about mixed-mode (sat/cable/terrestrial) operation */
if (frontendType == FE_QPSK && pos != ret->getSatellitePosition())
if (ret->deltype == FE_QPSK && pos != ret->getSatellitePosition())
continue;
/* match +-2MHz to make old ubouquets work with updated satellites.xml */
if (abs((int)ret->getFreqId() - (int)freq) < 3)