X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fctype%2Fisdigit.c;h=b122f7ec5362434c48f80f44dac763da93a2ed23;hp=eeeffb874993b3c86204d5e0567870cf3c281235;hb=e883af7e93561cd536df68eaf837f523e3d2594b;hpb=3a92b78272cd3f0f413bb1cfc0c77deef49967fd diff --git a/functions/ctype/isdigit.c b/functions/ctype/isdigit.c index eeeffb8..b122f7e 100644 --- a/functions/ctype/isdigit.c +++ b/functions/ctype/isdigit.c @@ -10,9 +10,11 @@ #ifndef REGTEST +#include + int isdigit( int c ) { - return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_DIGIT ); + return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_DIGIT ); } #endif