mirror of
https://github.com/mpv-player/mpv
synced 2025-02-07 15:41:55 +00:00
10l fix by Salvatore Falco <salvatore.falco@katamail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9889 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e71ed912f2
commit
90061e5e3c
@ -792,7 +792,7 @@ subtitle *sub_read_line_jacosub(FILE * fd, subtitle * current)
|
||||
strcpy(line2, line1);
|
||||
p = line2;
|
||||
}
|
||||
for (q = line1; (!eol(*p)) && (current->lines < SUB_MAX_TEXT);
|
||||
for (q = line1; (!eol(*p)) && (current->lines + 1 < SUB_MAX_TEXT);
|
||||
++p) {
|
||||
switch (*p) {
|
||||
case '{':
|
||||
|
Loading…
Reference in New Issue
Block a user