diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2010-03-27 19:22:22 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2010-03-27 19:22:22 +0000 |
commit | 4c233fcfb54b386fcd96f71deb1e88e10d635825 (patch) | |
tree | 8cd7f623d29368a59905ccc108e5151bc28d2e62 /editor/ppmdist.c | |
parent | 3a54a339a59e83834ea18d88cab7104fd9d8b9ca (diff) | |
download | netpbm-mirror-4c233fcfb54b386fcd96f71deb1e88e10d635825.tar.gz netpbm-mirror-4c233fcfb54b386fcd96f71deb1e88e10d635825.tar.xz netpbm-mirror-4c233fcfb54b386fcd96f71deb1e88e10d635825.zip |
Release 10.50.00 - copied from trunk
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@1162 9d0c8265-081b-0410-96cb-a4ca84ce46f8
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); } /* |