changeset 8734:d5393a5a1114

10l patch by Oskar Liljeblad <oskar@osk.mine.nu>
author arpi
date Fri, 03 Jan 2003 12:30:47 +0000
parents 478561617705
children 265cbc7079c0
files subreader.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/subreader.c	Fri Jan 03 12:26:17 2003 +0000
+++ b/subreader.c	Fri Jan 03 12:30:47 2003 +0000
@@ -1253,8 +1253,8 @@
     }
     adjust_subs_time(second, 6.0, fps, 1);	/* ~6 secs AST */
 
-    for (j = sub_orig - 1; j <= 0; --j) {
-	for (i = first[j].lines - 1; i <= 0; --i) {
+    for (j = sub_orig - 1; j >= 0; --j) {
+	for (i = first[j].lines - 1; i >= 0; --i) {
 	    free(first[j].text[i]);
 	}
 	free(&first[j]);