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.32 by greg, Thu Oct 28 11:39:59 1993 UTC vs.
Revision 2.33 by greg, Thu Nov 4 12:04:55 1993 UTC

# Line 197 | Line 197 | char  *argv[];
197          if (i < argc) {                 /* open picture file */
198                  fname = argv[i];
199                  fin = fopen(fname, "r");
200 <                if (fin == NULL) {
201 <                        sprintf(errmsg, "cannot open file \"%s\"", fname);
202 <                        quiterr(errmsg);
203 <                }
200 >                if (fin == NULL)
201 >                        quiterr("cannot open picture file");
202          }
203                                  /* get header */
204          getheader(fin, headline, NULL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines