X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fctype%2Fisgraph.c;h=133a39cba5e822db199d46d0a6b13cc376c6439f;hp=d623485f02f6ee34b2372b4bd634aff68fd04a12;hb=ed01ab8d9fcc47f6a4089ef72a73ef7a084d1ed3;hpb=fd89f130aedf49fbdb3e4f5a24c9cedb56eea22e 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