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

Comparing ray/src/util/rad.c (file contents):
Revision 2.4 by greg, Fri Mar 12 13:37:03 1993 UTC vs.
Revision 2.5 by greg, Sat Mar 13 09:33:17 1993 UTC

# Line 664 | Line 664 | register char  *op;
664          else
665                  op = addarg(op, "-ds .3");
666          op = addarg(op, "-dt .1 -dc .5 -dr 1 -sj .7 -st .15");
667 <        sprintf(op, " -ab %d", overture=vint(INDIRECT));
668 <        op += strlen(op);
667 >        if (overture = vint(INDIRECT)) {
668 >                sprintf(op, " -ab %d", overture);
669 >                op += strlen(op);
670 >        }
671          if (vdef(AMBFILE)) {
672                  sprintf(op, " -af %s", vval(AMBFILE));
673                  op += strlen(op);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines