diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-05-15 20:57:40 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-05-15 20:57:40 +0000 |
commit | dd8aaea0561a2f1fa3d2818185900e92d17e4720 (patch) | |
tree | f8a99b948a839c72597691d7b4b3d7da6f1f2aef | |
parent | e32f24ba2ff5d34491a699956a97bf76698d2894 (diff) | |
download | netpbm-mirror-dd8aaea0561a2f1fa3d2818185900e92d17e4720.tar.gz netpbm-mirror-dd8aaea0561a2f1fa3d2818185900e92d17e4720.tar.xz netpbm-mirror-dd8aaea0561a2f1fa3d2818185900e92d17e4720.zip |
Fix grammar in comments
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3810 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | converter/other/tifftopnm.c | 10 | ||||
-rw-r--r-- | converter/other/xwdtopnm.c | 2 | ||||
-rw-r--r-- | converter/ppm/xpmtoppm.c | 4 | ||||
-rw-r--r-- | editor/pnmcrop.c | 4 | ||||
-rw-r--r-- | editor/pnmstitch.c | 6 | ||||
-rw-r--r-- | generator/pbmtext.c | 2 | ||||
-rw-r--r-- | lib/libpbmfont2.c | 2 | ||||
-rw-r--r-- | other/pamfix.c | 2 |
8 files changed, 16 insertions, 16 deletions
diff --git a/converter/other/tifftopnm.c b/converter/other/tifftopnm.c index 05493e73..0c301a4a 100644 --- a/converter/other/tifftopnm.c +++ b/converter/other/tifftopnm.c @@ -1357,10 +1357,10 @@ convertRasterByRows(pnmOut * const pnmOutP, represented as single array element, so it's easy to work with. */ xel * xelrow; - /* The ppm-format row of the image row we are presently converting */ + /* The ppm-format row of the image row we are currently converting */ gray * alpharow; /* The pgm-format row representing the alpha values for the image - row we are presently converting. + row we are currently converting. */ unsigned int row; @@ -1465,11 +1465,11 @@ convertTiffRaster(uint32 * const raster, -----------------------------------------------------------------------------*/ xel * xelrow; /* The ppm-format row of the image row we are - presently converting + currently converting */ gray * alpharow; /* The pgm-format row representing the alpha values - for the image row we are presently converting. + for the image row we are currently converting. */ unsigned int row; @@ -1478,7 +1478,7 @@ convertTiffRaster(uint32 * const raster, for (row = 0; row < rows; ++row) { uint32 * rp; - /* Address of pixel in 'raster' we are presently converting */ + /* Address of pixel in 'raster' we are currently converting */ unsigned int col; /* Start at beginning of row: */ diff --git a/converter/other/xwdtopnm.c b/converter/other/xwdtopnm.c index a74da341..a99768b8 100644 --- a/converter/other/xwdtopnm.c +++ b/converter/other/xwdtopnm.c @@ -999,7 +999,7 @@ pixelReader_getbits(pixelReader * const rdrP, -----------------------------------------------------------------------------*/ unsigned long pixel; /* Accumulator for the value we ultimately return. We shift in - bits from the right end. The number of bits presently in the + bits from the right end. The number of bits currently in the accumulator is rdrP->bitsPerPixel - nBitsStillNeeded . */ diff --git a/converter/ppm/xpmtoppm.c b/converter/ppm/xpmtoppm.c index 0c9abcc0..c97b9fdc 100644 --- a/converter/ppm/xpmtoppm.c +++ b/converter/ppm/xpmtoppm.c @@ -606,7 +606,7 @@ readXpm3Header(FILE * const ifP, ColorNameHash ** const colorNameHashPP) { /*---------------------------------------------------------------------------- Read the header of the XPM file on stream *ifP. Assume the - getLine() stream is presently positioned to the beginning of the + getLine() stream is currently positioned to the beginning of the file and it is a Version 3 XPM file. Leave the stream positioned after the header. @@ -721,7 +721,7 @@ readXpm1Header(FILE * const ifP, ColorNameHash ** const colorNameHashPP) { /*---------------------------------------------------------------------------- Read the header of the XPM file on stream *ifP. Assume the - getLine() stream is presently positioned to the beginning of the + getLine() stream is currently positioned to the beginning of the file and it is a Version 1 XPM file. Leave the stream positioned after the header. 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/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. */ diff --git a/generator/pbmtext.c b/generator/pbmtext.c index e52a296e..a8d45837 100644 --- a/generator/pbmtext.c +++ b/generator/pbmtext.c @@ -978,7 +978,7 @@ getText(PM_WCHAR const cmdlineText[], unsigned int const lineBufTerm = LINEBUFSIZE - 1; unsigned int maxlines; - /* Maximum number of lines for which we presently have space in + /* Maximum number of lines for which we currently have space in the text array */ PM_WCHAR * buf; diff --git a/lib/libpbmfont2.c b/lib/libpbmfont2.c index b354e91b..b4cf4c2a 100644 --- a/lib/libpbmfont2.c +++ b/lib/libpbmfont2.c @@ -355,7 +355,7 @@ static void skipCharacter(Readline * const readlineP) { /*---------------------------------------------------------------------------- In the BDF font file being read by readline object *readlineP, skip through - the end of the character we are presently in. + the end of the character we are currently in. -----------------------------------------------------------------------------*/ bool endChar; diff --git a/other/pamfix.c b/other/pamfix.c index e40f51f4..4f4eedfc 100644 --- a/other/pamfix.c +++ b/other/pamfix.c @@ -109,7 +109,7 @@ analyzeRaster(const struct pam * const pamP, bool const verbose) { /*---------------------------------------------------------------------------- Go through the raster at which the stream described by *tweakedPamP is - presently positioned and count how many rows can be successfully read + currently positioned and count how many rows can be successfully read (including validating the samples against pamP->maxval) and determine the highest sample value in those rows. |