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

Comparing ray/src/px/ra_t8.c (file contents):
Revision 2.17 by greg, Thu Feb 9 21:54:11 2023 UTC vs.
Revision 2.18 by greg, Fri Jun 6 19:11:21 2025 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9   */
10  
11   #include  <math.h>
12 <
12 > #include  "paths.h"
13   #include  "platform.h"
14   #include  "rtio.h"
15   #include  "rtmisc.h"
# Line 31 | Line 31 | uby8  clrtab[256][3];
31   extern int      samplefac;
32   double  gamv = 2.2;                     /* gamv correction */
33   int  bradj = 0;                         /* brightness adjustment */
34 char  *progname;
34   char  errmsg[128];
35   COLR    *inl;
36   uby8    *tarData;
# Line 62 | Line 61 | main(
61          int  ncolors = 256;
62          int  greyscale = 0;
63          int  i;
64 +        
65          SET_DEFAULT_BINARY();
66          SET_FILE_BINARY(stdin);
67          SET_FILE_BINARY(stdout);
68 <        progname = argv[0];
68 >        fixargv0(argv[0]);
69          samplefac = 0;
70  
71          for (i = 1; i < argc; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines