diff options
Diffstat (limited to 'src/cmd/acme')
-rw-r--r-- | src/cmd/acme/addr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/acme/addr.c b/src/cmd/acme/addr.c index 3869e39b..a3c04991 100644 --- a/src/cmd/acme/addr.c +++ b/src/cmd/acme/addr.c @@ -98,7 +98,8 @@ number(uint showerr, Text *t, Range r, int line, int dir, int size, int *evalp) } --q0; } - if(line > 0) + /* :1-1 is :0 = #0, but :1-2 is an error */ + if(line > 1) goto Rescue; while(q0>0 && textreadc(t, q0-1)!='\n') --q0; |