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

Comparing ray/src/px/macbethcal.c (file contents):
Revision 2.30 by greg, Thu Feb 22 17:45:54 2024 UTC vs.
Revision 2.32 by greg, Sat Jun 7 05:09:46 2025 UTC

# Line 13 | Line 13 | static const char      RCSid[] = "$Id$";
13   #include <math.h>
14  
15   #include "platform.h"
16 #include "paths.h"
16   #include "rtio.h"
17   #include "color.h"
18   #include "resolu.h"
# Line 121 | Line 120 | COLOR  colmin, colmax;         /* gamut limits */
120   WARP3D  *wcor = NULL;           /* color space warp */
121  
122   FILE    *debugfp = NULL;        /* debug output picture */
124 char    *progname;
123  
124   static void init(void);
125   static int chartndx(int x, int y, int   *np);
# Line 150 | Line 148 | main(
148   {
149          int     i;
150  
151 <        progname = argv[0];
151 >        fixargv0(argv[0]);              /* sets global progname */
152          for (i = 1; i < argc && argv[i][0] == '-'; i++)
153                  switch (argv[i][1]) {
154                  case 'd':                               /* debug output */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines