Thinko in #7222.
Jarkko Hietaniemi [Fri, 13 Oct 2000 18:37:13 +0000 (18:37 +0000)]
p4raw-id: //depot/perl@7223

utf8.c

diff --git a/utf8.c b/utf8.c
index c077182..a713ea1 100644 (file)
--- a/utf8.c
+++ b/utf8.c
@@ -116,7 +116,7 @@ Perl_is_utf8_char(pTHX_ U8 *s)
     if (!(u & 0x40))
        return 0;
 
-    len = UTF8SKIP(u);
+    len = UTF8SKIP(s);
 
     slen = len - 1;
     s++;