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

Comparing ray/src/px/xshowtrace.c (file contents):
Revision 2.13 by greg, Fri Apr 11 20:27:23 2014 UTC vs.
Revision 2.14 by greg, Tue Jun 3 21:31:51 2025 UTC

# Line 23 | Line 23 | char   xicom[] = "ximage -c 256";
23   VIEW    ourview = STDVIEW;              /* view for picture */
24   RESOLU  ourres;                         /* picture resolution */
25  
26 char    *progname;                      /* program name */
27
26   char    *picture;                       /* picture name */
27  
28   FILE    *pin;                           /* input stream */
# Line 58 | Line 56 | main(          /* takes both the octree and the image */
56          int     i;
57          char    combuf[PATH_MAX];
58  
59 <        progname = argv[0];
59 >        fixargv0(argv[0]);              /* sets global progname */
60          for (i = 1; i < argc-2; i++)
61                  if (!strcmp(argv[i], "-s"))
62                          slow++;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines