X-Git-Url: https://git.gag.com/?p=fw%2Fpdclib;a=blobdiff_plain;f=functions%2Fctype%2Fispunct.c;h=4dfd52a7c749191d8fe339453829f0e1cab0d921;hp=2859efc32478cc35574d41eebb58ad564ff4e427;hb=cde52edd05b00cfbaee8d204d1f7faa1d6346eac;hpb=f55a1b46c818376556332a6475c0b70a7539fd68 diff --git a/functions/ctype/ispunct.c b/functions/ctype/ispunct.c index 2859efc..4dfd52a 100644 --- a/functions/ctype/ispunct.c +++ b/functions/ctype/ispunct.c @@ -10,9 +10,11 @@ #ifndef REGTEST +#include + int ispunct( int c ) { - return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_PUNCT ); + return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_PUNCT ); } #endif