# | Line 169 | Line 169 | userr: | |
---|---|---|
169 | checkhead(line) /* deal with line from header */ | |
170 | char *line; | |
171 | { | |
172 | < | if (!strncmp(line, "EXPOSURE=", 9)) |
173 | < | exposure *= atof(line+9); |
172 | > | if (isexpos(line)) |
173 | > | exposure *= exposval(line); |
174 | } | |
175 | ||
176 | ||
# | Line 400 | Line 400 | register rgbpixel *l3; | |
400 | /* read scanline */ | |
401 | getscan(y); | |
402 | /* convert scanline */ | |
403 | < | normcolrs(scanline, xmax); |
403 | > | normcolrs(scanline, xmax, 0); |
404 | for (i = 0; i < xmax; i++) { | |
405 | l3[i].r = scanline[i][RED]; | |
406 | l3[i].g = scanline[i][GRN]; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |