# | Line 115 | Line 115 | firstscan(void) /* return first processed scanline | |
---|---|---|
115 | comprgb2rgbWBmat(mbcond.cmat, inprims, outprims); | |
116 | else | |
117 | compxyz2rgbWBmat(mbcond.cmat, outprims); | |
118 | < | if (what2do&DO_ACUITY) |
119 | < | initacuity(); |
118 | > | if (what2do&DO_ACUITY && !initacuity()) { |
119 | > | fprintf(stderr, "%s: warning - cannot initialize acuity pass\n", |
120 | > | progname); |
121 | > | what2do &= ~DO_ACUITY; |
122 | > | } |
123 | scanbuf = (COLOR *)malloc(scanlen(&inpres)*sizeof(COLOR)); | |
124 | if (scanbuf == NULL) | |
125 | syserror("malloc"); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |