xmltv: fixed episode/season count being off by one.

This commit is contained in:
John Törblom 2013-04-16 13:41:36 +02:00
parent c80088ac23
commit cbae62c053

View file

@ -184,8 +184,8 @@ static const char *xmltv_ns_get_parse_num
out:
if(ap) *ap = a + 1;
if(bp) *bp = b + 1;
if(ap && a >= 0) *ap = a + 1;
if(bp && b >= 0) *bp = b;
return s;
}