* src/checkpoint.c (checkpoint_compile_action): Add missing
`else'.
This commit is contained in:
Sergey Poznyakoff
2008-10-05 09:09:16 +00:00
parent c78356feda
commit 6901594ac4
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ checkpoint_compile_action (const char *str)
if (strcmp (str, ".") == 0 || strcmp (str, "dot") == 0)
alloc_action (cop_dot);
if (strcmp (str, "bell") == 0)
else if (strcmp (str, "bell") == 0)
alloc_action (cop_bell);
else if (strcmp (str, "echo") == 0)
alloc_action (cop_echo);