Skip to content

Commit ef80cd9

Browse files
committed
locale.c: Use same form of macro name
This macro has synonyms; use the one prevailing in the adjacent code, so that future maintainers think there is something strange going on that is needed to investigate, only to find that nothing was going on.
1 parent 084ed71 commit ef80cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

locale.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ S_new_ctype(pTHX_ const char *newctype)
661661
if ( check_for_problems
662662
&& (isGRAPH_A(i) || isBLANK_A(i) || i == '\n'))
663663
{
664-
if ( cBOOL(isalnum(i)) != cBOOL(isALPHANUMERIC(i))
664+
if ( cBOOL(isalnum(i)) != cBOOL(isALPHANUMERIC_A(i))
665665
|| cBOOL(isalpha(i)) != cBOOL(isALPHA_A(i))
666666
|| cBOOL(isdigit(i)) != cBOOL(isDIGIT_A(i))
667667
|| cBOOL(isgraph(i)) != cBOOL(isGRAPH_A(i))

0 commit comments

Comments
 (0)