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

Comparing ray/src/px/pcond4.c (file contents):
Revision 3.20 by greg, Fri Aug 21 05:48:28 2015 UTC vs.
Revision 3.21 by greg, Wed Sep 11 18:56:12 2024 UTC

# Line 331 | Line 331 | getascan(                      /* find/read scanline y for scanbar sb */
331          for ( ; y >= sb->nread; sb->nread++) {          /* read as necessary */
332                  mysl = bscan(sb, sb->nread);
333                  if (sb->sampe == 0) {
334 <                        if (freadscan(mysl, sb->len, infp) < 0) {
334 >                        if (fread2scan(mysl, sb->len, infp, NCSAMP, WLPART) < 0) {
335                                  fprintf(stderr, "%s: %s: scanline read error\n",
336                                                  progname, infn);
337                                  exit(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines