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.58 by gwlarson, Mon Oct 19 16:21:41 1998 UTC vs.
Revision 2.59 by gwlarson, Tue Jan 19 17:46:13 1999 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1998 Silicon Graphics, Inc. */
1 > /* Copyright (c) 1999 Silicon Graphics, Inc. */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ SGI";
# Line 1048 | Line 1048 | again:
1048          }
1049   #endif
1050          copystruct(&vwr, &stdview);
1051 <        cp = vopts;                             /* get -vf files first */
1051 >        sscanview(&vwr, cp=vopts);              /* set initial options */
1052          while ((cp = strstr(cp, "-vf ")) != NULL &&
1053 <                        *atos(buf, sizeof(buf), cp += 4))
1054 <                viewfile(buf, &vwr, NULL);
1055 <        sscanview(&vwr, vopts);                 /* get the rest */
1053 >                        *atos(buf, sizeof(buf), cp += 4)) {
1054 >                viewfile(buf, &vwr, NULL);      /* load -vf file */
1055 >                sscanview(&vwr, cp);            /* reset tail */
1056 >        }
1057          fputs(VIEWSTR, stdout);
1058          fprintview(&vwr, stdout);               /* print full spec. */
1059          fputc('\n', stdout);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines