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

Comparing ray/src/util/xglaresrc.c (file contents):
Revision 2.12 by greg, Thu May 14 20:58:03 2020 UTC vs.
Revision 2.14 by greg, Sat Jun 7 05:09:46 2025 UTC

# Line 8 | Line 8 | static const char      RCSid[] = "$Id$";
8   */
9  
10   #include "standard.h"
11 + #include "paths.h"
12  
12 #include <unistd.h>
13   #include <signal.h>
14   #include <X11/Xlib.h>
15   #include <X11/Xutil.h>
# Line 27 | Line 27 | float  col[3] = {1.,0.,0.};            /* color */
27   VIEW    ourview = STDVIEW;              /* view for picture */
28   RESOLU  pres;                           /* picture resolution */
29  
30 char    *progname;                      /* program name */
31
30   Display *theDisplay = NULL;             /* connection to server */
31  
32   #define rwind           RootWindow(theDisplay,ourScreen)
# Line 52 | Line 50 | main(
50          char    *windowname = NULL;
51          FILE    *fp;
52  
53 <        progname = *argv++; argc--;
53 >        fixargv0(*argv++); argc--;
54          while (argc > 0 && argv[0][0] == '-') {
55                  switch (argv[0][1]) {
56                  case 'n':

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines