[Mplayer-cvslog] CVS: main subreader.c,1.102,1.103

Alex Beregszaszi alex at mplayerhq.hu
Wed Apr 9 17:52:04 CEST 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv14977

Modified Files:
	subreader.c 
Log Message:
10l fix by Salvatore Falco <salvatore.falco at katamail.com>

Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- subreader.c	8 Apr 2003 20:40:55 -0000	1.102
+++ subreader.c	9 Apr 2003 15:51:37 -0000	1.103
@@ -792,7 +792,7 @@
 	    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 '{':



More information about the MPlayer-cvslog mailing list