From ae7ee584d7b10a4a26f91398e9aaff384c0c8ce7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Fri, 10 Apr 1998 20:38:15 +0200
Subject: [PATCH] Fixed __INIT() bug.

Rev: src/program.c:1.75
---
 src/program.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/program.c b/src/program.c
index 50274a775f..5bbb7d645a 100644
--- a/src/program.c
+++ b/src/program.c
@@ -4,7 +4,7 @@
 ||| See the files COPYING and DISCLAIMER for more information.
 \*/
 #include "global.h"
-RCSID("$Id: program.c,v 1.74 1998/04/10 04:49:55 hubbe Exp $");
+RCSID("$Id: program.c,v 1.75 1998/04/10 18:38:15 grubba Exp $");
 #include "program.h"
 #include "object.h"
 #include "dynamic_buffer.h"
@@ -769,7 +769,7 @@ struct program *end_first_pass(int finish)
 
 
   /* Collect references to inherited __INIT functions */
-  for(e=new_program->num_inherits-1;e>1;e--)
+  for(e=new_program->num_inherits-1;e;e--)
   {
     int id;
     if(new_program->inherits[e].inherit_level!=1) continue;
-- 
GitLab