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:
parent
ea95dbf321
commit
d7872e5e5f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user