about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--converter/other/pnmtopalm/pnmtopalm.c2
-rw-r--r--doc/HISTORY2
2 files changed, 3 insertions, 1 deletions
diff --git a/converter/other/pnmtopalm/pnmtopalm.c b/converter/other/pnmtopalm/pnmtopalm.c
index 3b9eec8f..f5f6e44a 100644
--- a/converter/other/pnmtopalm/pnmtopalm.c
+++ b/converter/other/pnmtopalm/pnmtopalm.c
@@ -365,7 +365,7 @@ writeCommonHeader(unsigned int         const cols,
         pm_error("Too many columns for Palm Bitmap: %u", cols);
     pm_writebigshort(stdout, cols);    /* width */
     if (rows > USHRT_MAX)
-        pm_error("Too many columns for Palm Bitmap: %u", rows);
+        pm_error("Too many rows for Palm Bitmap: %u", rows);
     pm_writebigshort(stdout, rows);    /* height */
     if (rowbytes > USHRT_MAX)
         pm_error("Too many bytes per row for Palm Bitmap: %u", rowbytes);
diff --git a/doc/HISTORY b/doc/HISTORY
index 8b0dfbea..cb856061 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -6,6 +6,8 @@ CHANGE HISTORY
 
 not yet  BJH  Release 10.40.00
 
+              pnmtopalm: fix typo in error message.
+
               pnmtops: fix crash when program attempts to write 12 bits per
               sample Postscript.  It doesn't really know how to do that, so
               now it just writes 8 unless you do -psfilter.