about summary refs log tree commit diff
path: root/converter/other/pnmtopng.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-03-25 00:26:30 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-03-25 00:26:30 +0000
commit7dd37058c4c8e0f6ca272e329162a52f958e4951 (patch)
tree80a526cc4225b65dde4dd232f288b7834e035d5e /converter/other/pnmtopng.c
parenteb5b52f36af040404fcff790e36201ba15608ef9 (diff)
downloadnetpbm-mirror-7dd37058c4c8e0f6ca272e329162a52f958e4951.tar.gz
netpbm-mirror-7dd37058c4c8e0f6ca272e329162a52f958e4951.tar.xz
netpbm-mirror-7dd37058c4c8e0f6ca272e329162a52f958e4951.zip
Release 10.73.43
git-svn-id: http://svn.code.sf.net/p/netpbm/code/super_stable@4535 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pnmtopng.c')
-rw-r--r--converter/other/pnmtopng.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/converter/other/pnmtopng.c b/converter/other/pnmtopng.c
index 009d8bb8..8cd3685b 100644
--- a/converter/other/pnmtopng.c
+++ b/converter/other/pnmtopng.c
@@ -192,9 +192,9 @@ parseRgbOpt(const char *         const rgbOpt,
                    &rgbP->gx, &rgbP->gy,
                    &rgbP->bx, &rgbP->by);
 
-    if (count != 6)
+    if (count != 8)
         pm_error("Invalid syntax for the -rgb option value '%s'.  "
-                 "Should be 6 floating point number: "
+                 "Should be 8 floating point numbers: "
                  "x and y for each of white, red, green, and blue",
                  rgbOpt);
 }