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

Comparing ray/src/px/panim.c (file contents):
Revision 1.1 by greg, Thu Feb 2 10:49:22 1989 UTC vs.
Revision 1.2 by greg, Tue Sep 12 13:04:21 1989 UTC

# Line 89 | Line 89 | char   *file;
89          }
90                                                  /* get dimensions */
91          getheader(fp, NULL);
92 <        if (fscanf(fp, "-Y %d +X %d\n", &yres, &xres) != 2 ||
92 >        if (fgetresolu(&xres, &yres, fp) != (YMAJOR|YDECR) ||
93                          xres > SCANLINE || yres > NUMSCANS) {
94                  fputs(file, stderr);
95                  fputs(": bad picture size\n", stderr);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines