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

Comparing ray/src/px/ximage.c (file contents):
Revision 2.5 by greg, Wed Jun 24 09:17:43 1992 UTC vs.
Revision 2.6 by greg, Fri Aug 21 13:49:35 1992 UTC

# Line 644 | Line 644 | int  y;
644                  if (fseek(fin, scanpos[y], 0) == -1)
645                          quiterr("fseek error");
646                  cury = y;
647 <        } else if (scanpos != NULL)
647 >        } else if (scanpos != NULL && scanpos[y] == -1)
648                  scanpos[y] = ftell(fin);
649  
650          if (freadcolrs(scanline, xmax, fin) < 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines