From 96b7d939cad490fb223fa0106fe0c42b1459ae4c Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 30 Oct 2013 18:44:48 +0400 Subject: [PATCH] gui/scan_setup.cpp: add tuner type to tuner select menu --- src/gui/scan_setup.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gui/scan_setup.cpp b/src/gui/scan_setup.cpp index 9c189f600..f9f563b64 100644 --- a/src/gui/scan_setup.cpp +++ b/src/gui/scan_setup.cpp @@ -537,7 +537,11 @@ int CScanSetup::showScanMenuFrontendSetup() snprintf(tmp, sizeof(tmp), "config_frontend%d", i); 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; neutrino_msg_t key = CRCInput::RC_nokey;