X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Fisprint.c;h=6a5366adaa355959af7c4fd2ee0efa93b55abfa5;hb=d1954049a406af2992113a783539aa5d86cfdfa8;hp=f057e002e4d53ae41706949ae259c214002358d4;hpb=3a92b78272cd3f0f413bb1cfc0c77deef49967fd;p=pdclib.old diff --git a/functions/ctype/isprint.c b/functions/ctype/isprint.c index f057e00..6a5366a 100644 --- a/functions/ctype/isprint.c +++ b/functions/ctype/isprint.c @@ -9,10 +9,11 @@ #include #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