From 6e38d0e56f24932b59ecfe3aa6ad2e166a9e7dfb Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Tue, 26 Feb 2013 13:45:19 -0700 Subject: 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. --- utf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utf8.c') 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) -- cgit v1.2.1