about summary refs log tree commit diff
path: root/converter/other/pnmtopalm/pnmtopalm.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/pnmtopalm/pnmtopalm.c')
-rw-r--r--converter/other/pnmtopalm/pnmtopalm.c2
1 files changed, 1 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);