From 06965d10d9199bef760049aa302caf8c1c77e96f Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Wed, 5 Sep 2007 19:39:21 +0000 Subject: 20070905-2038 --- appl/cmd/ed.b | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appl/cmd/ed.b') 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; } -- cgit v1.2.3