From: ghost Date: Sun, 21 Dec 2008 10:26:06 +0000 (+0100) Subject: fix non working search case sensitive search (thx to pieterg) X-Git-Tag: 2.6.0~527 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/c2369e09f42741f4b1ca200b4fc31f39329a2fa8 fix non working search case sensitive search (thx to pieterg) --- diff --git a/lib/dvb/epgcache.cpp b/lib/dvb/epgcache.cpp index 222cba32..dbb695bd 100644 --- a/lib/dvb/epgcache.cpp +++ b/lib/dvb/epgcache.cpp @@ -2193,13 +2193,13 @@ PyObject *eEPGCache::search(ePyObject arg) // eDebug("match 3 %s %s", str, s.c_str() ); break; } - else if (!strncmp((const char*)data+6+idx, str, textlen) ) - { - descr[++descridx] = it->first; -// std::string s((const char*)data+6, title_len); -// eDebug("match 4 %s %s", str, s.c_str() ); - break; - } + } + else if (!strncmp((const char*)data+6+idx, str, textlen) ) + { + descr[++descridx] = it->first; +// std::string s((const char*)data+6, title_len); +// eDebug("match 4 %s %s", str, s.c_str() ); + break; } ++idx; }