X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Fisgraph.c;h=133a39cba5e822db199d46d0a6b13cc376c6439f;hb=d1954049a406af2992113a783539aa5d86cfdfa8;hp=b2cccc8d5eefcc63945e76b01b91f7ac1274b356;hpb=3a92b78272cd3f0f413bb1cfc0c77deef49967fd;p=pdclib.old diff --git a/functions/ctype/isgraph.c b/functions/ctype/isgraph.c index b2cccc8..133a39c 100644 --- a/functions/ctype/isgraph.c +++ b/functions/ctype/isgraph.c @@ -9,10 +9,11 @@ #include #ifndef REGTEST +#include <_PDCLIB_locale.h> int isgraph( int c ) { - return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_GRAPH ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_GRAPH ); } #endif