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.52 by gwlarson, Mon Aug 17 18:00:11 1998 UTC vs.
Revision 2.54 by gwlarson, Wed Jun 16 08:15:17 1999 UTC

# Line 91 | Line 91 | RESOLU  inpres;                                /* input resolution and ordering */
91   int  xmax, ymax;                        /* picture dimensions */
92   int  width, height;                     /* window size */
93   char  *fname = NULL;                    /* input file name */
94 < FILE  *fin = stdin;                     /* input file */
94 > FILE  *fin = NULL;                      /* input file */
95   long  *scanpos = NULL;                  /* scan line positions in file */
96   int  cury = 0;                          /* current scan location */
97  
# Line 143 | Line 143 | char  *argv[];
143          int  pid;
144          
145          progname = argv[0];
146 +        fin = stdin;
147  
148          for (i = 1; i < argc; i++)
149                  if (argv[i][0] == '-')
# Line 250 | Line 251 | userr:
251   }
252  
253  
254 + int
255   headline(s)             /* get relevant info from header */
256   char  *s;
257   {
# Line 261 | Line 263 | char  *s;
263                  wrongformat = strcmp(fmt, COLRFMT);
264          else if (isview(s) && sscanview(&ourview, s) > 0)
265                  gotview++;
266 +        return(0);
267   }
268  
269  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines