about summary refs log tree commit diff
path: root/editor/ppmdraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'editor/ppmdraw.c')
-rw-r--r--editor/ppmdraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/ppmdraw.c b/editor/ppmdraw.c
index 63d781ec..bd569e03 100644
--- a/editor/ppmdraw.c
+++ b/editor/ppmdraw.c
@@ -569,7 +569,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