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.19 by greg, Sat Jun 7 05:09:46 2025 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines