summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-02-26 13:45:19 -0700
committerKarl Williamson <public@khwilliamson.com>2013-08-29 09:55:59 -0600
commit6e38d0e56f24932b59ecfe3aa6ad2e166a9e7dfb (patch)
tree6bbd606f153612087f5f6ddc6e4865d9678b12e0 /utf8.c
parent5aaebcb3428d61bb90e5f0cfcdee0166b5bcb64e (diff)
downloadperl-6e38d0e56f24932b59ecfe3aa6ad2e166a9e7dfb.tar.gz
utf8.c: Use more clearly named macro
In the case of invariants these two macros should do the same thing, but it seems to me that the latter name more clearly indicates what is going on.
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index cc64ee6cd0..2a239951d8 100644
--- a/utf8.c
+++ b/utf8.c
@@ -179,7 +179,7 @@ Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
}
}
if (UNI_IS_INVARIANT(uv)) {
- *d++ = (U8) I8_TO_NATIVE_UTF8(uv);
+ *d++ = (U8) LATIN1_TO_NATIVE(uv);
return d;
}
#if defined(EBCDIC)