mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
make :1-1 work (Arvindh Tamilmani)
This commit is contained in:
parent
c8f538425f
commit
a584135910
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue