aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acme/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/acme/edit.c')
-rw-r--r--src/cmd/acme/edit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cmd/acme/edit.c b/src/cmd/acme/edit.c
index 81f80300..82a19b0d 100644
--- a/src/cmd/acme/edit.c
+++ b/src/cmd/acme/edit.c
@@ -635,9 +635,11 @@ simpleaddr(void)
case '.':
case '$':
case '\'':
- if(addr.type!='"')
+ if(addr.type=='"')
+ break;
+ /* fall through */
case '"':
- editerror("bad address syntax");
+ editerror("bad address syntax");
break;
case 'l':
case '#':