about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--converter/other/pamtopng.c2
-rw-r--r--doc/HISTORY2
2 files changed, 3 insertions, 1 deletions
diff --git a/converter/other/pamtopng.c b/converter/other/pamtopng.c
index 088db3c8..c9f7aca9 100644
--- a/converter/other/pamtopng.c
+++ b/converter/other/pamtopng.c
@@ -85,7 +85,7 @@ parseChromaOpt(const char *         const chromaOpt,
                    &chromaP->bx, &chromaP->by);
 
     if (count != 8)
-        pm_error("Invalid syntax for the -rgb option value '%s'.  "
+        pm_error("Invalid syntax for the -chroma option value '%s'.  "
                  "Should be 8 floating point numbers: "
                  "x and y for each of white, red, green, and blue",
                  chromaOpt);
diff --git a/doc/HISTORY b/doc/HISTORY
index 8c9b8719..6694e3ca 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -9,6 +9,8 @@ not yet  BJH  Release 11.03.00
               pnmcolormap: make result independent of how system's qsort
               orders records with equal keys.  Affects pnmquant.
 
+              pamtopng: fix typo in error message about -chroma option.
+
 23.03.25 BJH  Release 11.02.00
 
               jpegtopnm: Add -traceexif