isprint: match isspace

This commit is contained in:
K. Lange 2018-10-09 21:41:24 +09:00
parent 9d61044756
commit 85d197c810
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#include <ctype.h>
int isprint(int c) {
return isgraph(c) || (c == ' ');
return isgraph(c) || isspace(c);
}