diff options
Diffstat (limited to 'appl/cmd')
| -rw-r--r-- | appl/cmd/ed.b | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appl/cmd/ed.b b/appl/cmd/ed.b index e374ce4e..f0ad6310 100644 --- a/appl/cmd/ed.b +++ b/appl/cmd/ed.b @@ -1158,7 +1158,7 @@ global(k: int) # # Special case: g/.../d (avoid n^2 algorithm) - if(globuf[0] == 'd' && globuf[1] == '\n' && globuf[2] == 0) { + if(globuf == "d\n") { gdelete(); return; } |
