]> pd.if.org Git - pdclib/blobdiff - functions/ctype/isprint.c
Removed SVN keyword tags.
[pdclib] / functions / ctype / isprint.c
index f057e002e4d53ae41706949ae259c214002358d4..d5ff0053b18dff2e5fba3264bebc45b70fcc84d2 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* isprint( int )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -9,10 +7,11 @@
 #include <ctype.h>
 
 #ifndef REGTEST
+#include <_PDCLIB_locale.h>
 
 int isprint( int c )
 {
-    return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_GRAPH ) || ( c == ' ' );
+    return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_GRAPH ) || ( c == ' ' );
 }
 
 #endif