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

Comparing ray/src/px/ra_ppm.c (file contents):
Revision 2.17 by greg, Sat Dec 28 18:05:14 2019 UTC vs.
Revision 2.19 by greg, Sat Jun 7 05:09:46 2025 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7  
8   #include  <math.h>
9   #include  <ctype.h>
10
10   #include  "platform.h"
11   #include  "rtio.h"
12   #include  "color.h"
# Line 17 | Line 16 | static const char      RCSid[] = "$Id$";
16   int  bradj = 0;                         /* brightness adjustment */
17   double  gamcor = 2.2;                   /* gamma correction value */
18   int  maxval = 255;                      /* maximum primary value */
20 char  *progname;
19   int  xmax, ymax;
20  
21   typedef int colrscanf_t(COLR *scan, int len, FILE *fp);
# Line 52 | Line 50 | main(
50          int  ptype;
51          int  i;
52          
53 <        progname = argv[0];
53 >        fixargv0(argv[0]);
54  
55          for (i = 1; i < argc; i++)
56                  if (argv[i][0] == '-')

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines