diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-06-28 17:52:14 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-06-28 17:52:14 +0000 |
commit | 1cd3ef0dd6c2236d0b329879bacd9360d01c88a1 (patch) | |
tree | a60016b5dd48fbf681ebfb43a6ca0d7e20a391d8 /editor | |
parent | cbbf595776cee6b8d8a24becf49ee6468eeba712 (diff) | |
download | netpbm-mirror-1cd3ef0dd6c2236d0b329879bacd9360d01c88a1.tar.gz netpbm-mirror-1cd3ef0dd6c2236d0b329879bacd9360d01c88a1.tar.xz netpbm-mirror-1cd3ef0dd6c2236d0b329879bacd9360d01c88a1.zip |
Promote Development to Advaanced - Release 10.91
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@3877 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor')
-rw-r--r-- | editor/pamflip/pamflip.c | 2 | ||||
-rwxr-xr-x | editor/pamstretch-gen | 6 | ||||
-rw-r--r-- | editor/pnmcrop.c | 4 | ||||
-rwxr-xr-x | editor/pnmmargin | 2 | ||||
-rw-r--r-- | editor/pnmstitch.c | 6 |
5 files changed, 8 insertions, 12 deletions
diff --git a/editor/pamflip/pamflip.c b/editor/pamflip/pamflip.c index bc752208..d3aa76df 100644 --- a/editor/pamflip/pamflip.c +++ b/editor/pamflip/pamflip.c @@ -1007,7 +1007,7 @@ stitchCellsToOutput(outputMap * const outputMapP, outCol += outCellPamP->width; } - assert(outCol = outpamP->width); + assert(outCol == outpamP->width); pnm_writepamrow(outpamP, tupleRow); } diff --git a/editor/pamstretch-gen b/editor/pamstretch-gen index fec4469c..ee04821a 100755 --- a/editor/pamstretch-gen +++ b/editor/pamstretch-gen @@ -24,10 +24,6 @@ while true ; do shift ;; -q|-qu|-qui|-quie|-quiet|--q|--qu|--qui|--quie|--quiet ) - quietopt="-plain" - shift - ;; - -q|-qu|-qui|-quie|-quiet|--q|--qu|--qui|--quie|--quiet ) quietopt="-quiet" shift ;; @@ -80,7 +76,7 @@ esac # in some exceptional cases adjustment is necessary because of # "-dropedge". -report=$(pamscale -reportonly $1 $tempfile) +report=$(pamscale $quietopt -reportonly $1 $tempfile) if [ $? -ne 0 ]; then echo "pamstretch-gen: pamscale -reportonly $1 (file) failed" 1>&2 exit 1 diff --git a/editor/pnmcrop.c b/editor/pnmcrop.c index 5e74190f..f07340eb 100644 --- a/editor/pnmcrop.c +++ b/editor/pnmcrop.c @@ -1264,9 +1264,9 @@ cropOneImage(struct CmdlineInfo const cmdline, FILE * const bdfP, FILE * const ofP) { /*---------------------------------------------------------------------------- - Crop the image to which the stream *ifP is presently positioned + Crop the image to which the stream *ifP is currently positioned and write the results to *ofP. If bdfP is non-null, use the image - to which stream *bdfP is presently positioned as the borderfile + to which stream *bdfP is currently positioned as the borderfile (the file that tells us where the existing borders are in the input image). Leave *ifP and *bdfP positioned after the image. diff --git a/editor/pnmmargin b/editor/pnmmargin index 9dbe24b7..1b5370be 100755 --- a/editor/pnmmargin +++ b/editor/pnmmargin @@ -12,7 +12,7 @@ # implied warranty. tempdir=$(mktemp -d "${TMPDIR:-/tmp}/netpbm.XXXXXXXX") || - ( echo "Could not create temporary file. Exiting." 1>&2; exit 1; ) + { echo "Could not create temporary file. Exiting." 1>&2; exit 1; } trap 'rm -rf $tempdir' 0 1 3 15 tmp1=$tempdir/pnmm1 diff --git a/editor/pnmstitch.c b/editor/pnmstitch.c index 4c4c708a..b27445b0 100644 --- a/editor/pnmstitch.c +++ b/editor/pnmstitch.c @@ -1322,10 +1322,10 @@ Output OutputMethods[] = { /* Stitcher Methods */ /* These names are for the 8 parameters of a stitch, in any of the 3 - methods this program presently implements. Each is a subscript in + methods this program currently implements. Each is a subscript in the parms[] array for the Stitcher object that represents a linear - stitching method. - + stitching method. + There are also other sets of names for the 8 parameters, such as Rotate_a. I don't know why. Maybe historical. */ |