This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make qr/(?{})/ behave with closures
[perl5.git] / utf8.c
diff --git a/utf8.c b/utf8.c
index 3afa69c..0a6f9ed 100644 (file)
--- a/utf8.c
+++ b/utf8.c
@@ -2428,8 +2428,8 @@ Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp,
 
     /* Here, there was no mapping defined, which means that the code point maps
      * to itself.  Return the inputs */
-        len = UTF8SKIP(p);
-        Copy(p, ustrp, len, U8);
+    len = UTF8SKIP(p);
+    Copy(p, ustrp, len, U8);
 
     if (lenp)
         *lenp = len;