| # | Line 653 | Line 653 | register rgbpixel *l3; | |
|---|---|---|
| 653 | if (getscan(y) < 0) | |
| 654 | quiterr("cannot seek for picreadline"); | |
| 655 | /* convert scanline */ | |
| 656 | + | if (scale != 0) |
| 657 | + | for (i = 0; i < xmax; i++) |
| 658 | + | if (scanline[i][EXP]+scale >= 0) |
| 659 | + | scanline[i][EXP] += scale; |
| 660 | normcolrs(scanline, xmax); | |
| 661 | for (i = 0; i < xmax; i++) { | |
| 662 | l3[i].r = scanline[i][RED]; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |