]> pd.if.org Git - pdclib/blobdiff - functions/ctype/isprint.c
Comment cleanups.
[pdclib] / functions / ctype / isprint.c
index f057e002e4d53ae41706949ae259c214002358d4..509fc784cb7b91e75b04119cc3bacc60a8f95610 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* isprint( int )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -10,9 +8,11 @@
 
 #ifndef REGTEST
 
+#include <locale.h>
+
 int isprint( int c )
 {
-    return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_GRAPH ) || ( c == ' ' );
+    return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_GRAPH ) || ( c == ' ' );
 }
 
 #endif