(c2mu): Fix problem with UTF-2000.
authortomo <tomo>
Mon, 20 Mar 2000 09:34:05 +0000 (09:34 +0000)
committertomo <tomo>
Mon, 20 Mar 2000 09:34:05 +0000 (09:34 +0000)
src/mule-canna.c

index 839ab98..26f6d0e 100644 (file)
@@ -1791,8 +1791,9 @@ c2mu (unsigned char *cp, int l, unsigned char *mp)
        }
       else if (ch == ISO_CODE_SS3)
        {
+         ch = *cp++;
          chr = MAKE_CHAR (Vcharset_japanese_jisx0212,
-                          (*cp++) & 0x7f, (*cp++) & 0x7f);
+                          ch & 0x7f, (*cp++) & 0x7f);
        }
       else if (ch & 0x80)
        {