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

Comparing ray/src/px/pcond.c (file contents):
Revision 3.33 by greg, Wed Sep 11 18:56:11 2024 UTC vs.
Revision 3.35 by greg, Sat Jun 7 05:09:46 2025 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7   */
8  
9   #include "platform.h"
10 #include "paths.h"
10   #include "pcond.h"
11  
12  
# Line 20 | Line 19 | double ldmax = LDMAX;                  /* maximum output luminance */
19   double  lddyn = LDDYN;                  /* display dynamic range */
20   double  Bldmin, Bldmax;                 /* Bl(ldmax/lddyn) and Bl(ldmax) */
21  
23 char    *progname;                      /* global argv[0] */
24
22   char    *infn;                          /* input file name */
23   FILE    *infp;                          /* input stream */
24   FILE    *mapfp = NULL;                  /* tone-mapping function stream */
# Line 67 | Line 64 | main(
64                                  case '-': case '0': what2do &= ~(flg); break; \
65                                  default: goto userr; }
66  
67 <        progname = argv[0];
67 >        fixargv0(argv[0]);              /* sets global progname */
68  
69          for (i = 1; i < argc && argv[i][0] == '-'; i++)
70                  switch (argv[i][1]) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines