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

Comparing ray/src/util/rmtxop.c (file contents):
Revision 2.31 by greg, Tue Dec 19 00:39:03 2023 UTC vs.
Revision 2.32 by greg, Tue Dec 19 16:09:20 2023 UTC

# Line 256 | Line 256 | checksymbolic(ROPMAT *rop)
256                  }
257          }
258                                          /* return recommended output type */
259 <        if (!strcmp(rop->preop.csym, "XYZ")) {
259 >        if (!strcasecmp(rop->preop.csym, "XYZ")) {
260                  if (dt <= DTspec)
261                          return(DTxyze);
262 <        } else if (!strcmp(rop->preop.csym, "RGB")) {
262 >        } else if (!strcasecmp(rop->preop.csym, "RGB")) {
263                  if (dt <= DTspec)
264                          return(DTrgbe);
265          } else if (dt == DTspec)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines