| # | Line 734 | Line 734 | colormap map; | |
|---|---|---|
| 734 | register int i, val; | |
| 735 | ||
| 736 | for (i = 0; i < 256; i++) { | |
| 737 | < | val = pow(i/256.0, 1.0/gamcor) * 256.0; |
| 737 | > | val = pow((i+0.5)/256.0, 1.0/gamcor) * 256.0; |
| 738 | map[0][i] = map[1][i] = map[2][i] = val; | |
| 739 | } | |
| 740 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |