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

Comparing ray/src/util/rcrop.c (file contents):
Revision 1.17 by greg, Wed Jun 5 17:30:56 2024 UTC vs.
Revision 1.18 by greg, Tue Jun 3 21:31:51 2025 UTC

# Line 12 | Line 12 | static const char RCSid[] = "$Id$";
12   #include "fvect.h"
13   #include "view.h"
14  
15 char    *progname;              /* global argv[0] */
16
15   VIEW    vw = STDVIEW;
16   int     gotvw = 0;
17   char    fmt[MAXFMTLEN] = "ascii";       /* assumed when unspecified */
# Line 259 | Line 257 | main(int argc, char *argv[])
257          FILE    *fp = stdin;
258          int     asiz = 0;
259          int     gotdims;
260 <
261 <        progname = argv[0];
260 >                                /* set global progname */
261 >        fixargv0(argv[0]);
262                                  /* get input and output */
263          if ((argc < 5) | (argc > 7))
264                  goto usage;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines