--- ray/src/rt/data.c 2003/06/26 00:58:10 2.21 +++ ray/src/rt/data.c 2003/07/21 22:30:19 2.23 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: data.c,v 2.21 2003/06/26 00:58:10 schorsch Exp $"; +static const char RCSid[] = "$Id: data.c,v 2.23 2003/07/21 22:30:19 schorsch Exp $"; #endif /* * data.c - routines dealing with interpolated data. @@ -7,6 +7,8 @@ static const char RCSid[] = "$Id: data.c,v 2.21 2003/0 #include "copyright.h" +#include + #include "standard.h" #include "platform.h" #include "color.h" @@ -232,8 +234,8 @@ char *pname; fclose(fp); i = hash(pname); pp[0].next = dtab[i]; /* link into picture list */ - copystruct(&pp[1], &pp[0]); - copystruct(&pp[2], &pp[0]); + pp[1] = pp[0]; + pp[2] = pp[0]; pp[0].type = RED; /* differentiate RGB records */ pp[1].type = GRN; pp[2].type = BLU;