X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Fisalpha.c;h=147fd5eb14e82b4ab59f991dcdacb5d6b2f897f6;hb=ed01ab8d9fcc47f6a4089ef72a73ef7a084d1ed3;hp=2bde75570f7d4ab5255539f41c8a0a6838af0b15;hpb=3a92b78272cd3f0f413bb1cfc0c77deef49967fd;p=pdclib.old diff --git a/functions/ctype/isalpha.c b/functions/ctype/isalpha.c index 2bde755..147fd5e 100644 --- a/functions/ctype/isalpha.c +++ b/functions/ctype/isalpha.c @@ -9,10 +9,11 @@ #include #ifndef REGTEST +#include <_PDCLIB_locale.h> int isalpha( int c ) { - return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_ALPHA ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_ALPHA ); } #endif