diff options
author | tjr <tjr@FreeBSD.org> | 2002-06-04 10:40:14 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-06-04 10:40:14 +0000 |
commit | 1162c6ee51453565020e552cb776c8ee4548238d (patch) | |
tree | 817e7374cd34b09d6289c5d4fdf33043dfd9e381 /usr.bin/sed | |
parent | a62cd9c5ce555a5cee78f0d7627a3dd4df581f80 (diff) | |
download | FreeBSD-src-1162c6ee51453565020e552cb776c8ee4548238d.zip FreeBSD-src-1162c6ee51453565020e552cb776c8ee4548238d.tar.gz |
Wrap lines correctly for the `l' command.
Diffstat (limited to 'usr.bin/sed')
-rw-r--r-- | usr.bin/sed/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c index 7efdeed..4674404 100644 --- a/usr.bin/sed/process.c +++ b/usr.bin/sed/process.c @@ -480,7 +480,7 @@ lputs(s) } for (count = 0; *s; ++s) { - if (count >= termwidth) { + if (count + 5 >= termwidth) { (void)printf("\\\n"); count = 0; } |