gui/scan_setup.cpp: add tuner type to tuner select menu

This commit is contained in:
[CST] Focus
2013-10-30 18:44:48 +04:00
parent f9764e5e65
commit 96b7d939ca

View File

@@ -537,7 +537,11 @@ int CScanSetup::showScanMenuFrontendSetup()
snprintf(tmp, sizeof(tmp), "config_frontend%d", i); snprintf(tmp, sizeof(tmp), "config_frontend%d", i);
char name[255]; char name[255];
snprintf(name, sizeof(name), "%s %d: %s", g_Locale->getText(LOCALE_SATSETUP_FE_SETUP), i+1, fe->getInfo()->name); if (fe->getInfo()->type == FE_QPSK)
snprintf(name, sizeof(name), "%s %d: %s %s", g_Locale->getText(LOCALE_SATSETUP_FE_SETUP), i+1,
fe->getInfo()->type == FE_QPSK ? g_Locale->getText(LOCALE_SCANTS_ACTSATELLITE)
: g_Locale->getText(LOCALE_SCANTS_ACTCABLE),
fe->getInfo()->name);
const char * icon = NULL; const char * icon = NULL;
neutrino_msg_t key = CRCInput::RC_nokey; neutrino_msg_t key = CRCInput::RC_nokey;