diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-06-28 23:54:29 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-06-28 23:54:29 +0000 |
commit | be0a23cddaf0182d1fda4f623a3b23f67db91d73 (patch) | |
tree | 5d46db6bd85005728f7821965e66e3e5f0018d62 /editor/pnmcrop.c | |
parent | b13ba8b9b606c916e0bda39348ee009e920df22e (diff) | |
download | netpbm-mirror-be0a23cddaf0182d1fda4f623a3b23f67db91d73.tar.gz netpbm-mirror-be0a23cddaf0182d1fda4f623a3b23f67db91d73.tar.xz netpbm-mirror-be0a23cddaf0182d1fda4f623a3b23f67db91d73.zip |
Promote Development to Advanced
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@3647 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/pnmcrop.c')
-rw-r--r-- | editor/pnmcrop.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/editor/pnmcrop.c b/editor/pnmcrop.c index d6bae1d3..6ef1c280 100644 --- a/editor/pnmcrop.c +++ b/editor/pnmcrop.c @@ -454,7 +454,9 @@ backgroundColor(FILE * const ifP, *ifP, which is described by 'cols', 'rows', 'maxval', and 'format'. 'backgroundChoice' is the method we are to use in determining the - background color. + background color. 'colorName' is the color we are to assume is + background in the case that 'backgroundChoice' says to use a particular + color and meangingless otherwise. Expect the file to be positioned to the start of the raster, and leave it positioned arbitrarily. @@ -484,9 +486,6 @@ backgroundColor(FILE * const ifP, background = background1Corner(ifP, rows, cols, maxval, format, corner); break; - - default: - pm_error("internal error"); } return background; |