Wrap lines correctly for the `l' command.

This commit is contained in:
Tim J. Robbins 2002-06-04 10:40:14 +00:00
parent 011b358aba
commit d1ccc822a5

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;
}