ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/rtrace.c
(Generate patch)

Comparing ray/src/rt/rtrace.c (file contents):
Revision 2.22 by greg, Wed Apr 17 14:02:09 1996 UTC vs.
Revision 2.23 by greg, Tue Jan 14 19:54:27 1997 UTC

# Line 518 | Line 518 | oputm(r)                               /* print modifier */
518   register RAY  *r;
519   {
520          if (r->ro != NULL)
521 <                fputs(objptr(r->ro->omod)->oname, stdout);
521 >                if (r->ro->omod != OVOID)
522 >                        fputs(objptr(r->ro->omod)->oname, stdout);
523 >                else
524 >                        fputs(VOIDID, stdout);
525          else
526                  putchar('*');
527          putchar('\t');

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines