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 2.10 by greg, Fri Jun 30 16:07:44 1995 UTC vs.
Revision 2.11 by greg, Tue Aug 22 08:51:57 1995 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1993 Regents of the University of California */
1 > /* Copyright (c) 1995 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 111 | Line 111 | char  *dname;
111                          if (dp->dim[i].p == NULL)
112                                  goto memerr;
113                          for (j = 0; j < dp->dim[i].ne; j++)
114 <                                if (fgetval(fp, 'd', &dp->dim[i].p[i]) <= 0)
114 >                                if (fgetval(fp, 'd', &dp->dim[i].p[j]) <= 0)
115                                          goto scanerr;
116                          for (j = 1; j < dp->dim[i].ne-1; j++)
117                                  if ((dp->dim[i].p[j-1] < dp->dim[i].p[j]) !=

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines