fix fallout from isprint() changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-11-20 19:14:19 +01:00
parent ad7d94bdc7
commit c270454f8f
3 changed files with 29 additions and 24 deletions

View File

@ -129,7 +129,7 @@ int wc_main(int argc UNUSED_PARAM, char **argv)
--counts[WC_CHARS];
goto DO_EOF; /* Treat an EOF as '\r'. */
}
if (isprint(c)) {
if (isprint_asciionly(c)) {
++linepos;
if (!isspace(c)) {
in_word = 1;