fix non working search case sensitive search (thx to pieterg)
authorghost <andreas.monzner@multimedia-labs.de>
Sun, 21 Dec 2008 10:26:06 +0000 (11:26 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Sun, 21 Dec 2008 10:26:06 +0000 (11:26 +0100)
lib/dvb/epgcache.cpp

index 222cba3..dbb695b 100644 (file)
@@ -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;
                                                                }