X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=functions%2Fctype%2Fisgraph.c;h=133a39cba5e822db199d46d0a6b13cc376c6439f;hb=d77b84be585e9ceaed1501579df5a4aec6a24a63;hp=d623485f02f6ee34b2372b4bd634aff68fd04a12;hpb=540e01a59a43ba091b3b221bf00f1ee7df8cdf1f;p=pdclib diff --git a/functions/ctype/isgraph.c b/functions/ctype/isgraph.c index d623485..133a39c 100644 --- a/functions/ctype/isgraph.c +++ b/functions/ctype/isgraph.c @@ -9,12 +9,11 @@ #include #ifndef REGTEST - -#include +#include <_PDCLIB_locale.h> int isgraph( int c ) { - return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_GRAPH ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_GRAPH ); } #endif