about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-08-28 03:19:19 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-08-28 03:19:19 +0000
commit67c5ea8b97719381fcfe399d9e31e79014253b96 (patch)
tree2590301d66f06acc0e06754abd0641fbe9b62451
parent21ec05f1b8722c2e82ce7cd274332b79a294bad5 (diff)
downloadnetpbm-mirror-67c5ea8b97719381fcfe399d9e31e79014253b96.tar.gz
netpbm-mirror-67c5ea8b97719381fcfe399d9e31e79014253b96.tar.xz
netpbm-mirror-67c5ea8b97719381fcfe399d9e31e79014253b96.zip
Fix typo in error message
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@388 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-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.