aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/epgcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dvb/epgcache.cpp')
-rw-r--r--lib/dvb/epgcache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dvb/epgcache.cpp b/lib/dvb/epgcache.cpp
index 6ab20bda..a8eca85b 100644
--- a/lib/dvb/epgcache.cpp
+++ b/lib/dvb/epgcache.cpp
@@ -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;