From 888f84e1ee7cc65d822fa8e84e02743d529a9c12 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Thu, 30 Nov 2023 18:54:54 +0000 Subject: cleanup git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4795 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/other/jpegtopnm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'converter/other/jpegtopnm.c') diff --git a/converter/other/jpegtopnm.c b/converter/other/jpegtopnm.c index 33baf6f0..33f69be9 100644 --- a/converter/other/jpegtopnm.c +++ b/converter/other/jpegtopnm.c @@ -555,8 +555,7 @@ setColorSpaces(J_COLOR_SPACE const jpegColorSpace, pm_error("INTERNAL ERROR: unknown color space code %d passed " "to setColorSpaces().", jpegColorSpace); } - pm_message("WRITING %s FILE", - *outputTypeP == PPM_TYPE ? "PPM" : "PGM"); + pm_message("WRITING %s FILE", pnm_formattypenm(*outputTypeP)); } -- cgit 1.4.1