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