diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libpamcolor.c | 6 | ||||
-rw-r--r-- | lib/libpamwrite.c | 2 | ||||
-rw-r--r-- | lib/libpbmfont1.c | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/libpamcolor.c b/lib/libpamcolor.c index e1a24c66..718df89f 100644 --- a/lib/libpamcolor.c +++ b/lib/libpamcolor.c @@ -177,15 +177,15 @@ parseInteger(const char * const colorname, if (r > maxval) pm_error("Red value in color specification '%s' is %u, " - "whcih is invalid because the specified maxval is %u", + "which is invalid because the specified maxval is %u", colorname, r, maxval); if (g > maxval) pm_error("Green value in color specification '%s' is %u, " - "whcih is invalid because the specified maxval is %u", + "which is invalid because the specified maxval is %u", colorname, g, maxval); if (b > maxval) pm_error("Blue value in color specification '%s' is %u, " - "whcih is invalid because the specified maxval is %u", + "which is invalid because the specified maxval is %u", colorname, b, maxval); color[PAM_RED_PLANE] = (float)r/maxval; diff --git a/lib/libpamwrite.c b/lib/libpamwrite.c index 1ff334aa..7edc90dc 100644 --- a/lib/libpamwrite.c +++ b/lib/libpamwrite.c @@ -384,7 +384,7 @@ pnm_writepamrowmult(const struct pam * const pamP, const tuple * const tuplerow, unsigned int const count) { /*---------------------------------------------------------------------------- - Write mutiple ('count') copies of the same row ('tuplerow') to the file. + Write multiple ('count') copies of the same row ('tuplerow') to the file. -----------------------------------------------------------------------------*/ if (pm_plain_output || pamP->plainformat) { unsigned int i; diff --git a/lib/libpbmfont1.c b/lib/libpbmfont1.c index 2d269da7..4189f150 100644 --- a/lib/libpbmfont1.c +++ b/lib/libpbmfont1.c @@ -189,8 +189,8 @@ pbm_dissectfont(const bit ** const fontsheet, unsigned int const frows, unsigned int const fcols) { /*---------------------------------------------------------------------------- - Dissect PBM sheet font data, create a font structre, - load bitmap data into it. + Dissect PBM sheet font data, create a font structure, load bitmap data into + it. Return value is a pointer to the newly created font structure @@ -205,7 +205,7 @@ pbm_dissectfont(const bit ** const fontsheet, just a matter of filling in all the coordinates. Struct font has fields 'oldfont', 'fcols', 'frows' for backward - compability. If there is any need to load data stored in this format + compatibility. If there is any need to load data stored in this format feed the above three, in order, as arguments to this function: pbm_dissectfont(oldfont, fcols, frows); |