X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fctype%2Fisprint.c;h=6a5366adaa355959af7c4fd2ee0efa93b55abfa5;hp=50b0ad85192d34530056a4d17ff81626e7c296ff;hb=ed01ab8d9fcc47f6a4089ef72a73ef7a084d1ed3;hpb=fd89f130aedf49fbdb3e4f5a24c9cedb56eea22e diff --git a/functions/ctype/isprint.c b/functions/ctype/isprint.c index 50b0ad8..6a5366a 100644 --- a/functions/ctype/isprint.c +++ b/functions/ctype/isprint.c @@ -9,12 +9,11 @@ #include #ifndef REGTEST - -#include +#include <_PDCLIB_locale.h> int isprint( int c ) { - return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_GRAPH ) || ( c == ' ' ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_GRAPH ) || ( c == ' ' ); } #endif