diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2024-01-31 18:00:17 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2024-01-31 18:00:17 +0000 |
commit | 4580f8b7665854d10eced1cd1cc61e9bd5db99ff (patch) | |
tree | 577ca102e7467ac878a744997922e7a4a04e2198 | |
parent | fa53229528706ca8e5ae6f112732daedaf12a0f1 (diff) | |
download | netpbm-mirror-4580f8b7665854d10eced1cd1cc61e9bd5db99ff.tar.gz netpbm-mirror-4580f8b7665854d10eced1cd1cc61e9bd5db99ff.tar.xz netpbm-mirror-4580f8b7665854d10eced1cd1cc61e9bd5db99ff.zip |
Fix typo in error message
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4841 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | doc/HISTORY | 2 | ||||
-rw-r--r-- | generator/pamseq.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/HISTORY b/doc/HISTORY index 58c5e426..4915d888 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -9,6 +9,8 @@ not yet BJH Release 11.06.00 ppmtowinicon: fix array overrun with 4 and 8 bits per pixel. Broken in Netpbm 11.05 (December 2023). + pamseq: fix typo in error message. + build: makeman: fix warning about backslashes in strings. 23.12.28 BJH Release 11.05.00 diff --git a/generator/pamseq.c b/generator/pamseq.c index 998b7ea5..71905a67 100644 --- a/generator/pamseq.c +++ b/generator/pamseq.c @@ -281,7 +281,7 @@ imageWidth(unsigned int const depth, given that the minimum and maximum sample values in Plane P are min[P] and max[P] and the samples step by step[P]. - E.g. in the sample case of min 0, max 4, and step 1 everywhere, with + E.g. in the example case of min 0, max 4, and step 1 everywhere, with depth 2, We return 5*5 = 25. -----------------------------------------------------------------------------*/ unsigned int product; @@ -294,7 +294,7 @@ imageWidth(unsigned int const depth, ROUNDUP((max[plane] - min[plane] + 1), step[plane])/step[plane]; if (INT_MAX / valueCtThisPlane < product) - pm_error("Uncomputably large number of pixels (greater than %u", + pm_error("Uncomputably large number of pixels (greater than %u)", INT_MAX); product *= valueCtThisPlane; |