diff options
Diffstat (limited to 'editor/ppmdist.c')
-rw-r--r-- | editor/ppmdist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/ppmdist.c b/editor/ppmdist.c index 90c2e3d3..bca96adc 100644 --- a/editor/ppmdist.c +++ b/editor/ppmdist.c @@ -125,7 +125,7 @@ main(int argc, char *argv[]) { * by frequency - but again, for a small number of colors * it's a small matter. */ - colorToGrayMap[color].gray = PPM_LUMIN(hist[color].color); + colorToGrayMap[color].gray = ppm_luminosity(hist[color].color); } /* |