summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-07-10 13:31:11 -0600
committerKarl Williamson <khw@cpan.org>2014-07-10 13:46:29 -0600
commit98b630b35f6ee9b6c20fb18e6a8fc1a0363a233c (patch)
tree877987997f2abfc1dd24155afe8a015c9455d4b4 /locale.c
parenta7fa5053628a560ab7de68cb98a8894c82546246 (diff)
downloadperl-98b630b35f6ee9b6c20fb18e6a8fc1a0363a233c.tar.gz
locale.c: Fix misplaced parenthesis
Commit a39edc4c877304d4075679b1d8de1904671a9c37 got a parenthesis misplaced so it wasn't really looking at the next character, like it was supposed to be doing
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale.c b/locale.c
index 57a553dda6..91e5095fe7 100644
--- a/locale.c
+++ b/locale.c
@@ -136,8 +136,8 @@ Perl_set_numeric_radix(pTHX)
* punct: 21-2F 3A-40 5B-60 7B-7E A1-A3 A5 A7-AB B0-B3 B5-B7 B9-BD BF-CF D1-DD DF-EF F1-FD
* Oddly, none there are listed as alphas, though some represent alphabetics
* http://www.nntp.perl.org/group/perl.perl5.porters/2013/02/msg198753.html */
-#define isNAME_C_OR_POSIX(name) ((name) != NULL \
- && ((*(name) == 'C' && (*(name) + 1) == '\0') \
+#define isNAME_C_OR_POSIX(name) ((name) != NULL \
+ && ((*(name) == 'C' && (*(name + 1)) == '\0') \
|| strEQ((name), "POSIX")))
void