From 3b851bc488d064fd6b6419d2dfbdc83bf24d5219 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Wed, 1 Mar 2023 18:40:23 +0000 Subject: Fix rejection of <> in ASCII-85 input git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4508 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- generator/pbmtextps.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'generator') diff --git a/generator/pbmtextps.c b/generator/pbmtextps.c index 46d53ac6..2a1173de 100644 --- a/generator/pbmtextps.c +++ b/generator/pbmtextps.c @@ -248,11 +248,8 @@ formatNonemptyAscii85(const char * const inbuff, for (inIdx = startIdx; inIdx <= endIdx; ++inIdx) { switch (inbuff[inIdx]) { - case '<': case '~': - case '>': - pm_error("Misplaced character '%c' in Ascii 85 input string", - inbuff[inIdx]); + pm_error("Misplaced character '~' in Ascii 85 input string"); break; case '\f': case '\n': -- cgit 1.4.1