diff options
-rw-r--r-- | doc/HISTORY | 2 | ||||
-rw-r--r-- | editor/ppmdraw.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/HISTORY b/doc/HISTORY index a94754d0..b6dbd700 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -21,6 +21,8 @@ not yet BJH Release 10.86.00 intensity in the image. Always broken - Ppmbrighten was new in the first Netpbm release in 1991. + ppmdraw: Fix bug: 'setlinetype nodiag' says invalid type. + 18.12.29 BJH Release 10.85.00 pnmpaste: Add -nand, -nor, and -nxor. diff --git a/editor/ppmdraw.c b/editor/ppmdraw.c index c76489c9..3453a7e1 100644 --- a/editor/ppmdraw.c +++ b/editor/ppmdraw.c @@ -570,7 +570,7 @@ parseDrawCommand(struct tokenSet const commandTokens, const char * const typeArg = commandTokens.token[1]; if (streq(typeArg, "normal")) drawCommandP->u.setlinetypeArg.type = PPMD_LINETYPE_NORMAL; - else if (streq(typeArg, "normal")) + else if (streq(typeArg, "nodiag")) drawCommandP->u.setlinetypeArg.type = PPMD_LINETYPE_NODIAGS; else |