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.18 by greg, Fri Jun 6 19:11:21 2025 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines