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

Comparing ray/src/px/aedimage.c (file contents):
Revision 1.10 by greg, Thu Apr 18 14:35:03 1991 UTC vs.
Revision 1.11 by greg, Mon Nov 11 14:38:48 1991 UTC

# Line 145 | Line 145 | char  *argv[];
145          if (wrong_fmt)
146                  quitmsg("input must be a Radiance picture");
147                                  /* get picture dimensions */
148 <        if (fgetresolu(&xmax, &ymax, fin) != (YMAJOR|YDECR))
148 >        if (fgetresolu(&xmax, &ymax, fin) < 0)
149                  quitmsg("bad picture size");
150          if (xmax > NCOLS || ymax > NROWS)
151                  quitmsg("resolution mismatch");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines