diff options
-rw-r--r-- | src/cmd/ed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/ed.c b/src/cmd/ed.c index 788b35be..90bb6315 100644 --- a/src/cmd/ed.c +++ b/src/cmd/ed.c @@ -1050,7 +1050,7 @@ putline(void) } } nl = tline; - tline += ((lp-linebuf) + 03) & 077776; + tline += ((lp-linebuf) + 03) & (NBLK-1); return nl; } |