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

Comparing ray/src/util/rcode_depth.c (file contents):
Revision 2.12 by greg, Thu Jun 30 00:16:49 2022 UTC vs.
Revision 2.13 by greg, Tue Jun 3 21:31:51 2025 UTC

# Line 15 | Line 15 | static const char RCSid[] = "$Id$";
15   #include "fvect.h"
16   #include "depthcodec.h"
17  
18 char            *progname;              /* set in main() */
19
18   enum {CV_FWD, CV_REV, CV_PTS};
19  
20  
# Line 285 | Line 283 | main(int argc, char *argv[])
283          int             unbuffered = 0;
284          DEPTHCODEC      dc;
285          int             a;
286 <
287 <        progname = argv[0];
286 >                                        /* set global progname */
287 >        fixargv0(argv[0]);
288          set_dc_defaults(&dc);
289          dc.hdrflags = HF_ALL;
290          for (a = 1; a < argc && argv[a][0] == '-'; a++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines