diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-11-13 16:22:37 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-11-13 16:22:37 +0000 |
commit | 9d3e993cb53679bbd3f636a61d765b0be43d30b9 (patch) | |
tree | 46bfbc122621e17c8f8ec75e24ff2261d539fee5 /editor/pnmcrop.c | |
parent | e1c980c7e19738902347ecf87b71703d9fb2571b (diff) | |
download | netpbm-mirror-9d3e993cb53679bbd3f636a61d765b0be43d30b9.tar.gz netpbm-mirror-9d3e993cb53679bbd3f636a61d765b0be43d30b9.tar.xz netpbm-mirror-9d3e993cb53679bbd3f636a61d765b0be43d30b9.zip |
Release 10.35.33
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@465 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/pnmcrop.c')
-rw-r--r-- | editor/pnmcrop.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/editor/pnmcrop.c b/editor/pnmcrop.c index 5fafbaac..9ce388ab 100644 --- a/editor/pnmcrop.c +++ b/editor/pnmcrop.c @@ -219,10 +219,11 @@ computeBackground(FILE * const ifP, break; } - if (verbose) + if (verbose) { + pixel const backgroundPixel = pnm_xeltopixel(background, format); pm_message("Background color is %s", - ppm_colorname(&background, maxval, TRUE /*hexok*/)); - + ppm_colorname(&backgroundPixel, maxval, TRUE /*hexok*/)); + } return(background); } |