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 2.2 by greg, Thu Dec 19 14:51:44 1991 UTC

# Line 97 | Line 97 | FILE  *fin;
97   extern long  ftell();
98   long  scanpos[NROWS];
99  
100 extern double  atof();
100   double  exposure = 1.0;
101   int  wrong_fmt = 0;
102  
# Line 145 | Line 144 | char  *argv[];
144          if (wrong_fmt)
145                  quitmsg("input must be a Radiance picture");
146                                  /* get picture dimensions */
147 <        if (fgetresolu(&xmax, &ymax, fin) != (YMAJOR|YDECR))
147 >        if (fgetresolu(&xmax, &ymax, fin) < 0)
148                  quitmsg("bad picture size");
149          if (xmax > NCOLS || ymax > NROWS)
150                  quitmsg("resolution mismatch");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines