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

Comparing ray/src/px/ra_t16.c (file contents):
Revision 2.10 by greg, Sat Dec 28 18:05:14 2019 UTC vs.
Revision 2.11 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 | static const char      RCSid[] = "$Id$";
31  
32   double  gamcor = 2.2;                   /* gamma correction */
33   int  bradj = 0;                         /* brightness adjustment */
34 char  *progname;
34   char  msg[128];
35  
36   static int getint2(FILE *fp);
# Line 53 | Line 52 | main(int  argc, char  *argv[])
52          struct hdStruct  head;
53          int  reverse = 0;
54          int  i;
55 +        
56          SET_DEFAULT_BINARY();
57          SET_FILE_BINARY(stdin);
58          SET_FILE_BINARY(stdout);
59 <        progname = argv[0];
59 >        fixargv0(argv[0]);
60  
61          head.dataBits = 16;
62          for (i = 1; i < argc; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines