X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Fislower.c;h=689e65fb168b191c6cbc63627793c357fd60ee83;hb=0082c47404ecdeb00e08e1aedbea0f8402cfc906;hp=db0649d1f0f28b754c78278adab855c8c48fec1d;hpb=e883af7e93561cd536df68eaf837f523e3d2594b;p=pdclib.old diff --git a/functions/ctype/islower.c b/functions/ctype/islower.c index db0649d..689e65f 100644 --- a/functions/ctype/islower.c +++ b/functions/ctype/islower.c @@ -9,12 +9,11 @@ #include #ifndef REGTEST - -#include +#include <_PDCLIB_locale.h> int islower( int c ) { - return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_LOWER ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_LOWER ); } #endif