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

Comparing ray/src/px/glimage.c (file contents):
Revision 1.3 by greg, Thu Apr 18 14:35:08 1991 UTC vs.
Revision 2.1 by greg, Wed Nov 13 11:08:36 1991 UTC

# Line 16 | Line 16 | static char SCCSid[] = "$SunId$ LBL";
16  
17   #include  "color.h"
18  
19 + #include  "resolu.h"
20  
21 +
22   main(argc, argv)                                /* print a picture */
23   int  argc;
24   char  *argv[];
# Line 44 | Line 46 | char  *argv[];
46                  exit(1);
47          }
48                                  /* get picture dimensions */
49 <        if (fgetresolu(&xres, &yres, input) != (YMAJOR|YDECR)) {
49 >        if (fgetresolu(&xres, &yres, input) < 0) {
50                  fprintf(stderr, "%s: bad picture size\n", fname);
51                  exit(1);
52          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines