diff --git a/src/program.c b/src/program.c index 50274a775fdb8e1f8f521a57c5d3836ce0c132e1..5bbb7d645a8ebc4c29f9e439765d9bdf6401eae7 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;