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

Comparing ray/src/rt/data.c (file contents):
Revision 1.2 by greg, Thu Jul 27 22:25:10 1989 UTC vs.
Revision 1.3 by greg, Tue Sep 12 12:26:14 1989 UTC

# Line 136 | Line 136 | char  *pname;
136          }
137                                                  /* get dimensions */
138          getheader(fp, NULL);
139 <        if (fscanf(fp, "-Y %d +X %d\n", &height, &width) != 2)
139 >        if (fgetresolu(&width, &height, fp) != (YMAJOR|YDECR))
140                  goto readerr;
141          for (i = 0; i < 3; i++) {
142                  pp[i].nd = 2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines