Wrap lines correctly for the `l' command.

This commit is contained in:
tjr 2002-06-04 10:40:14 +00:00
parent a62cd9c5ce
commit 1162c6ee51

View File

@ -480,7 +480,7 @@ lputs(s)
}
for (count = 0; *s; ++s) {
if (count >= termwidth) {
if (count + 5 >= termwidth) {
(void)printf("\\\n");
count = 0;
}