From 6138e429482964756e9dd2934062726b0c117637 Mon Sep 17 00:00:00 2001 From: striper 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) --- 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; } }