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

Comparing ray/src/rt/t_data.c (file contents):
Revision 1.1 by greg, Tue Mar 14 11:31:17 1989 UTC vs.
Revision 1.2 by greg, Tue Mar 28 07:44:15 1989 UTC

# Line 57 | Line 57 | RAY  *r;
57                  objerror(m, USER, "bad # arguments");
58          sa = m->oargs.sarg;
59  
60 +        for (i = 7; i < m->oargs.nsargs && sa[i][0] != '-'; i++)
61 +                ;
62 +        nv = i-7;
63          if ((mxf = (XFORM *)m->os) == NULL) {
61                for (i = 7; i < m->oargs.nsargs && sa[i][0] != '-'; i++)
62                        ;
63                nv = i-7;
64                  mxf = (XFORM *)malloc(sizeof(XFORM));
65                  if (mxf == NULL)
66                          goto memerr;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines