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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6138e42948
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2012-10-11 (Thu, 11 Oct 2012)

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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
gixxpunk
2012-10-11 20:31:22 +02:00
committed by Jacek Jendrzej
parent adc0d43096
commit 0e52a60466

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 // 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; bHide = true;
} }
} }