1
mirror of https://github.com/mpv-player/mpv synced 2024-10-18 10:25:02 +02: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:
alex 2003-04-09 15:51:37 +00:00
parent e71ed912f2
commit 90061e5e3c

View File

@ -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 '{':