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

Comparing src/util/ranimate.c (file contents):
Revision 2.58 by greg, Sat Jun 10 15:49:55 2023 UTC vs.
Revision 2.60 by greg, Sat Jun 7 05:09:46 2025 UTC

# Line 23 | Line 23 | static const char RCSid[] = "$Id$";
23  
24   #include "platform.h"
25   #include "rtprocess.h"
26 #include "paths.h"
26   #include "standard.h"
27   #include "view.h"
28   #include "vars.h"
# Line 102 | Line 101 | struct {
101          int     tnext;                  /* next frame to transfer */
102   }       astat;                  /* animation status */
103  
105 char    *progname;              /* our program name */
104   char    *cfname;                /* our control file name */
105  
106   int     nowarn = 0;             /* turn warnings off? */
# Line 169 | Line 167 | main(
167   {
168          int     explicate = 0;
169          int     i;
170 <
171 <        progname = argv[0];                     /* get arguments */
170 >                                                /* set global progname */
171 >        fixargv0(argv[0]);
172 >                                                /* get arguments */
173          for (i = 1; i < argc && argv[i][0] == '-'; i++)
174                  switch (argv[i][1]) {
175                  case 'e':                       /* print variables */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines