- zapit/channel: fix issue tag from 4bacd77f8b

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-12-11 23:38:08 +01:00
committed by Thilo Graf
parent 5e2fe0a195
commit 45d61f49e3

View File

@@ -211,14 +211,9 @@ bool CZapitChannel::isUHD()
case ST_DIGITAL_TELEVISION_SERVICE:
case 0x19:
{
std::string uhd = "UHD";
if(strstr(name.c_str(),uhd.c_str()))
if (strstr(name.c_str(), "UHD"))
return true;
uhd = "4K";
if(strstr(name.c_str(),uhd.c_str()))
return true;
uhd = "4k";
if(strstr(name.c_str(),uhd.c_str())) //FIXME: this statement may fall through
if (strstr(name.c_str(), "4k"))
return true;
}
default: