From 87af75724a8d71a5cdebd49d580ee73768a2cc0e Mon Sep 17 00:00:00 2001 From: giraffedata Date: Tue, 31 Jul 2007 02:19:41 +0000 Subject: improve warning msg git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@370 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/other/pnmtops.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'converter/other') 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."); + } } } -- cgit 1.4.1