- epgview: only hide info1 if info2 begins with info1 (port from tuxbox-cvs. THX Gaucho316)

This commit is contained in:
striper
2012-10-11 20:31:22 +02:00
committed by satbaby
parent 006ca9e85a
commit 6138e42948

View File

@@ -544,7 +544,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
}
}
// Compare strings normally if not positively found to be equal before
if (false == bHide && false == (std::string::npos == epgData.info2.find(epgData.info1))) {
if (false == bHide && 0 == epgData.info2.find(epgData.info1)) {
bHide = true;
}
}