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