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

Comparing ray/src/px/x11image.c (file contents):
Revision 2.79 by greg, Mon Apr 28 01:37:07 2025 UTC vs.
Revision 2.81 by greg, Sat Jun 7 05:09:46 2025 UTC

# Line 18 | Line 18 | static const char RCSid[] = "$Id$";
18  
19   #include  "standard.h"
20  
21 #include  <string.h>
21   #include  <signal.h>
23 #include  <unistd.h>
24 #include  <sys/types.h>
22   #include  <sys/wait.h>
23   #include  <X11/Xlib.h>
24   #include  <X11/cursorfont.h>
25   #include  <X11/Xutil.h>
26   #include  <X11/Xatom.h>
27  
28 + #include  "paths.h"
29   #include  "color.h"
30   #include  "tonemap.h"
31   #include  "clrtab.h"
# Line 118 | Line 116 | char  *geometry = NULL;                        /* geometry specification */
116   char  icondata[ICONSIZ*ICONSIZ/8];      /* icon bitmap data */
117   int  iconwidth = 0, iconheight = 0;
118  
121 char  *progname;
122
119   char  errmsg[128];
120  
121   uby8  clrtab[256][3];                   /* global color map */
# Line 168 | Line 164 | main(int  argc, char  *argv[])
164          int  i;
165          int  pid;
166          
167 <        progname = argv[0];
167 >        fixargv0(argv[0]);              /* sets global progname */
168          fin = stdin;
169  
170          for (i = 1; i < argc; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines