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-14 17:14:13 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-03-14 17:14:13 +0000
commit1759de8c37fa4b19b02670e48daf211a62519074 (patch)
tree8709f8a9febb3a817869ffea3aa55ad702cf3b50 /converter/other/pnmtopng.c
parenta70405848cb06782036364a88e27f452fb0a0b32 (diff)
downloadnetpbm-mirror-1759de8c37fa4b19b02670e48daf211a62519074.tar.gz
netpbm-mirror-1759de8c37fa4b19b02670e48daf211a62519074.tar.xz
netpbm-mirror-1759de8c37fa4b19b02670e48daf211a62519074.zip
Release 11.01.01
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4513 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 23bd7d66..2230d226 100644
--- a/converter/other/pnmtopng.c
+++ b/converter/other/pnmtopng.c
@@ -187,9 +187,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);
 }