no comment!
authorghost <andreas.monzner@multimedia-labs.de>
Sat, 24 Jan 2009 23:29:31 +0000 (00:29 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Sat, 24 Jan 2009 23:29:31 +0000 (00:29 +0100)
lib/dvb/epgcache.cpp

index 6ab20bdab0cb47b0dee088ec71709e0bd72402b4..a8eca85b5cf598311923c41fdc33b6d69badddf8 100644 (file)
@@ -2176,12 +2176,12 @@ PyObject *eEPGCache::search(ePyObject arg)
                                                                if (data[6] == 0x10)
                                                                {
                                                                        offs+=3;
-                                                                       textlen-=3;
+                                                                       title_len-=3;
                                                                }
                                                                else if(data[6] > 0 && data[6] < 0x20)
                                                                {
                                                                        offs+=1;
-                                                                       textlen-=1;
+                                                                       title_len-=1;
                                                                }
                                                                if (title_len != textlen)
                                                                        continue;