--- ray/src/util/rtcontrib.c 2005/10/11 19:02:51 1.36 +++ ray/src/util/rtcontrib.c 2005/10/11 23:41:45 1.37 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rtcontrib.c,v 1.36 2005/10/11 19:02:51 greg Exp $"; +static const char RCSid[] = "$Id: rtcontrib.c,v 1.37 2005/10/11 23:41:45 greg Exp $"; #endif /* * Gather rtrace output to compute contributions from particular sources @@ -1076,7 +1076,7 @@ trace_contribs(FILE *fin) writebuf(rtp->pd.w, inpbuf, iblen); } else { /* else bypass dummy ray */ queue_raytree(rtp); /* empty tree */ - if ((yres <= 0) & (waitflush > 0)) + if ((yres <= 0) | (waitflush > 0)) waitflush = 1; /* flush after this */ } if (raysleft && !--raysleft)