about summary refs log tree commit diff
path: root/converter/other/pnmtopalm
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-09-23 16:04:55 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-09-23 16:04:55 +0000
commit8756ac386c61796da4502b8cda4c942cde53f823 (patch)
treecdb2d6cc50c9efd7455f0e71bababcebb5083a89 /converter/other/pnmtopalm
parenta9bdb900fbf87fa30d86cb13c9472358a19c78fc (diff)
downloadnetpbm-mirror-8756ac386c61796da4502b8cda4c942cde53f823.tar.gz
netpbm-mirror-8756ac386c61796da4502b8cda4c942cde53f823.tar.xz
netpbm-mirror-8756ac386c61796da4502b8cda4c942cde53f823.zip
improve error message
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3074 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pnmtopalm')
-rw-r--r--converter/other/pnmtopalm/pnmtopalm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/converter/other/pnmtopalm/pnmtopalm.c b/converter/other/pnmtopalm/pnmtopalm.c
index 287d8c1e..25c8af2e 100644
--- a/converter/other/pnmtopalm/pnmtopalm.c
+++ b/converter/other/pnmtopalm/pnmtopalm.c
@@ -787,9 +787,9 @@ computeRawRowNonDirect(const xel *     const xelrow,
                         sizeof(ColormapEntry), 
                         palmcolor_compare_colors);
             if (!foundEntryP) {
-                pm_error("Color %u:%u:%u not found in colormap.  "
-                         "Try using pnmquant to reduce the "
-                         "number of colors.",
+                pm_error("INERNAL ERROR: "
+                         "Color (%u,%u,%u) not found in colormap, "
+                         "though it was supposedly there before",
                          PPM_GETR(xelrow[col]), 
                          PPM_GETG(xelrow[col]), 
                          PPM_GETB(xelrow[col]));