xmltv: fixed episode/season count being off by one.
This commit is contained in:
parent
c80088ac23
commit
cbae62c053
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue