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.34 by greg, Tue Jun 3 21:31:51 2025 UTC

# Line 20 | Line 20 | double ldmax = LDMAX;                  /* maximum output luminance */
20   double  lddyn = LDDYN;                  /* display dynamic range */
21   double  Bldmin, Bldmax;                 /* Bl(ldmax/lddyn) and Bl(ldmax) */
22  
23 char    *progname;                      /* global argv[0] */
24
23   char    *infn;                          /* input file name */
24   FILE    *infp;                          /* input stream */
25   FILE    *mapfp = NULL;                  /* tone-mapping function stream */
# Line 67 | Line 65 | main(
65                                  case '-': case '0': what2do &= ~(flg); break; \
66                                  default: goto userr; }
67  
68 <        progname = argv[0];
68 >        fixargv0(argv[0]);              /* sets global progname */
69  
70          for (i = 1; i < argc && argv[i][0] == '-'; i++)
71                  switch (argv[i][1]) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines