changeset 9888:9f3e8c42a7cb

10l fix by Salvatore Falco <salvatore.falco@katamail.com>
author alex
date Wed, 09 Apr 2003 15:51:37 +0000
parents d862231858d5
children 9dc39697e3b3
files subreader.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/subreader.c	Wed Apr 09 07:33:59 2003 +0000
+++ b/subreader.c	Wed Apr 09 15:51:37 2003 +0000
@@ -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 '{':