Fix off-by-one error processing the line after an empty line when the

-a option is not specified.

Submitted by:	schweikh
MFC after:	1 week
This commit is contained in:
Tim J. Robbins 2002-10-04 16:45:25 +00:00
parent b0eca2c865
commit 26cabd19d5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104466

View file

@ -176,6 +176,7 @@ tabify(void)
} else if (ch == '\n') {
putchar('\n');
doneline = ocol = dcol = 0;
continue;
} else if (ch != ' ' || dcol > limit) {
putchar(ch);
if (isprint(ch))