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

Comparing ray/src/px/pvalue.c (file contents):
Revision 2.41 by greg, Fri Feb 4 20:11:49 2022 UTC vs.
Revision 2.42 by greg, Thu Mar 10 03:25:54 2022 UTC

# Line 437 | Line 437 | checkhead(                             /* deal with line from header */
437                          wrongformat++;
438                  return(1);
439          }
440 +        if (!strncmp(line,"NROWS=",6) ||
441 +                        !strncmp(line,"NCOLS=",6) ||
442 +                        !strncmp(line,"NCOMP=",6))
443 +                return(1);
444 +
445          if (original && isexpos(line)) {
446                  d = 1.0/exposval(line);
447                  scalecolor(exposure, d);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines