Fix a regression introduced by the previous commit
The previous commit confused i_line_count and i_line:
* txt->i_line_count contains the number of text lines.
* txt->i_line is the current offset in txt->line.
As a result no subtitles were available because TextGetLine always returned NULL.
Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
Showing
Please register or sign in to comment