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

Comparing ray/src/util/glrad.c (file contents):
Revision 3.28 by greg, Mon Jun 3 18:55:51 2024 UTC vs.
Revision 3.29 by greg, Tue Jun 3 21:31:51 2025 UTC

# Line 70 | Line 70 | VIEW   thisview = STDVIEW;             /* displayed view */
70   double  eyedist = 1;                    /* interocular distance */
71   VIEW    lastview;                       /* last recorded view */
72  
73 char    *progname;                      /* global argv[0] */
73   char    *radfile;                       /* rad input file */
74   char    *scene[MAXSCENE+1];             /* material and scene file list */
75   int     nscenef = 0;                    /* number of scene files */
# Line 129 | Line 128 | main(
128          char    *viewsel = NULL;
129          long    vwintvl = 0;
130          int     i;
131 <
132 <        progname = argv[0];
131 >                                        /* set global progname */
132 >        fixargv0(argv[0]);
133          for (i = 1; i < argc && argv[i][0] == '-'; i++)
134                  switch (argv[i][1]) {
135                  case 'v':

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines