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

Comparing ray/src/px/ra_ps.c (file contents):
Revision 2.33 by greg, Fri Oct 4 01:53:45 2024 UTC vs.
Revision 2.35 by greg, Sat Jun 7 05:09:46 2025 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9   #include  <ctype.h>
10  
11   #include  "platform.h"
12 #include  "paths.h"
12   #include  "rtio.h"
13   #include  "color.h"
14   #include  "resolu.h"
# Line 51 | Line 50 | int  docolor = 1;                      /* produce color image? */
50   int  bradj = 0;                         /* brightness adjustment */
51   int  ncopies = 1;                       /* number of copies */
52  
54 char  *progname;
53   int  xmax, ymax;                        /* input image dimensions */
54  
55   typedef void putprimf_t(COLR *scn, int pri);
# Line 98 | Line 96 | main(int  argc, char  *argv[])
96          int  i;
97          double  d;
98          
99 <        progname = argv[0];
99 >        fixargv0(argv[0]);              /* assigns progname */
100  
101          for (i = 1; i < argc; i++)
102                  if (argv[i][0] == '-')

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines