about summary refs log tree commit diff
path: root/editor
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2019-01-07 16:12:19 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2019-01-07 16:12:19 +0000
commit057569d856fa62e8e09e8c663181df7cf15d826c (patch)
treeb2c3b3d76c659269bcc3326b7b76c55799180d4c /editor
parentcd30a9c336150b8cdec03936d8355acc5d42d039 (diff)
downloadnetpbm-mirror-057569d856fa62e8e09e8c663181df7cf15d826c.tar.gz
netpbm-mirror-057569d856fa62e8e09e8c663181df7cf15d826c.tar.xz
netpbm-mirror-057569d856fa62e8e09e8c663181df7cf15d826c.zip
Fix bug: 'setlinetype nodiag' says invalid type
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3493 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor')
-rw-r--r--editor/ppmdraw.c2
1 files changed, 1 insertions, 1 deletions
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