diff src/link.c @ 306:be1abc4ac114

Corrected errors with parsing script and object files
author lost
date Fri, 23 Jan 2009 04:03:37 +0000
parents 13272197d278
children ecc092adc0be
line wrap: on
line diff
--- a/src/link.c	Thu Jan 22 02:14:52 2009 +0000
+++ b/src/link.c	Fri Jan 23 04:03:37 2009 +0000
@@ -231,7 +231,7 @@
 		lw_expr_stack_free(s);
 	}
 	
-	for (sn = 0; nsects; sn++)
+	for (sn = 0; sn < nsects; sn++)
 	{
 		for (rl = sectlist[sn].ptr -> incompletes; rl; rl = rl -> next)
 		{