From 6e38d0e56f24932b59ecfe3aa6ad2e166a9e7dfb Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Tue, 26 Feb 2013 13:45:19 -0700 Subject: [PATCH] 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(-) diff --git a/utf8.c b/utf8.c index cc64ee6..2a23995 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) -- 2.7.4