(detect_coding_mask): Fix the incorrect handling of arg MULTIBYTEP.
authorKenichi Handa <handa@m17n.org>
Thu, 8 Mar 2001 02:19:18 +0000 (02:19 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 8 Mar 2001 02:19:18 +0000 (02:19 +0000)
src/coding.c

index 7abf286..72f773f 100644 (file)
@@ -3980,7 +3980,7 @@ detect_coding_mask (source, src_bytes, priorities, skip, multibytep)
       int try;
 
       if (multibytep && c == LEADING_CODE_8_BIT_CONTROL)
-       c = *src++ - 0x20;
+       c = src[1] - 0x20;
 
       if (c < 0xA0)
        {