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

Comparing ray/src/util/rcollate.c (file contents):
Revision 2.44 by greg, Thu Jan 25 19:25:50 2024 UTC vs.
Revision 2.45 by greg, Fri Jan 26 00:47:17 2024 UTC

# Line 618 | Line 618 | headline(char *s, void *p)
618                          fmtid = fmt;
619                          return(0);
620                  }
621 <                if ((comp_size == 1) & (n_comp > 1))
621 >                if (!check & (comp_size == 1) & (n_comp > 1))
622                          return(0);              /* byte exception - skip check */
623                  if (!strcmp(fmt, fmtid))
624                          return(0);
# Line 644 | Line 644 | headline(char *s, void *p)
644                  return(0);
645          }
646          if (!strncmp(s, "NCOMP=", 6)) {
647 <                if ((comp_size == 1) & (n_comp > 1))
647 >                if (!check & (comp_size == 1) & (n_comp > 1))
648                          return(0);              /* byte exception - ignore */
649                  n = atoi(s+6);
650                  if ((n_comp > 0) & (n != n_comp)) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines