Remove a bogus check that caused empty lines not to be counted when the

-c option was given.

Noticed by:	sf
This commit is contained in:
tjr 2004-09-14 12:01:18 +00:00
parent ea95dbf321
commit d7872e5e5f

View File

@ -210,7 +210,7 @@ void
show(FILE *ofp, wchar_t *str)
{
if (cflag && *str)
if (cflag)
(void)fprintf(ofp, "%4d %ls\n", repeats + 1, str);
if ((dflag && repeats) || (uflag && !repeats))
(void)fprintf(ofp, "%ls\n", str);