| # | Line 670 | Line 670 | register rgbpixel *l3; | |
|---|---|---|
| 670 | if (getscan(y) < 0) | |
| 671 | quiterr("cannot seek for picreadline"); | |
| 672 | /* convert scanline */ | |
| 673 | < | if (scale != 0) |
| 673 | > | if (scale) |
| 674 | for (i = 0; i < xmax; i++) | |
| 675 | < | if (scanline[i][EXP]+scale >= 0) |
| 675 | > | if (scanline[i][EXP]) |
| 676 | scanline[i][EXP] += scale; | |
| 677 | normcolrs(scanline, xmax); | |
| 678 | for (i = 0; i < xmax; i++) { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |