about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other')
-rw-r--r--converter/other/pnmtops.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/converter/other/pnmtops.c b/converter/other/pnmtops.c
index 0348a870..5b12cee9 100644
--- a/converter/other/pnmtops.c
+++ b/converter/other/pnmtops.c
@@ -969,9 +969,12 @@ warnUserAboutReducedDepth(unsigned int const bitsGot,
             pm_message("Postscript level %u has a maximum depth of 8 bits.  "
                        "You could get up to 12 with -level=2 and -psfilter.",
                        postscriptLevel);
-
-        if (postscriptLevel >= 2 && !psFilter)
-            pm_message("You can get up to 12 bits with -psfilter");
+        else {
+            if (!psFilter)
+                pm_message("You can get up to 12 bits with -psfilter");
+            else
+                pm_message("The Postscript maximum is 12.");
+        }
     }
 }