# | Line 69 | Line 69 | checkreffile(ROPMAT *rop) | |
---|---|---|
69 | fclose(fp); | |
70 | curRF = rop->preop.csym; | |
71 | } | |
72 | < | if ((refm.ncomp == 3) & (refm.dtype != DTspec)) { |
72 | > | if (refm.ncomp == 3) { |
73 | rop->preop.csym = (refm.dtype == DTxyze) ? "XYZ" : "RGB"; | |
74 | return(checksymbolic(rop)); | |
75 | } | |
# | Line 245 | Line 245 | checksymbolic(ROPMAT *rop) | |
245 | } else if (!strcmp(rop->preop.csym, "RGB")) { | |
246 | if (dt <= DTspec) | |
247 | return(DTrgbe); | |
248 | < | } |
249 | < | if ((nc > 3) & (dt <= DTspec)) |
248 | > | } else if (dt == DTspec) |
249 | return(DTfloat); /* probably not actual spectrum */ | |
250 | return(0); | |
251 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |