summaryrefslogtreecommitdiff
path: root/src/ctype/isgraph.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-28 21:10:57 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-28 21:10:57 -0500
commit08d8fd2767733d893380ebf5c8a4743dd371528d (patch)
treeb3aff9fe38cd3cd94d99ca51b76e3de0f34037f2 /src/ctype/isgraph.c
parentb4409255ad7f446ad0a3386dc3669bbf270bb327 (diff)
fix ctype functions in the C/POSIX locale
Diffstat (limited to 'src/ctype/isgraph.c')
-rw-r--r--src/ctype/isgraph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctype/isgraph.c b/src/ctype/isgraph.c
index 206a09b7..ecf88a34 100644
--- a/src/ctype/isgraph.c
+++ b/src/ctype/isgraph.c
@@ -14,7 +14,7 @@ int isgraph(int c)
RETURN(0, ARGUMENT(c) is not a graphic character);
*/
- return map[c] & ~CT_SPACE;
+ return map[c] & CT_GRAPH;
}
/***