From 0e52a60466a5ec045c33de827cc36cbd95775583 Mon Sep 17 00:00:00 2001 From: gixxpunk Date: Thu, 11 Oct 2012 20:31:22 +0200 Subject: [PATCH] epgview: only hide info1 if info2 begins with info1 (port from tuxbox-cvs. THX Gaucho316) Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/6138e429482964756e9dd2934062726b0c117637 Author: gixxpunk 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 --- src/gui/epgview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 919a869d1..18b285dc1 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -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; } }