]> git.eshelyaron.com Git - emacs.git/commitdiff
(encode_coding_emacs_mule): Emit bytes with MSB.
authorKenichi Handa <handa@m17n.org>
Sat, 22 Nov 2003 11:20:05 +0000 (11:20 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 22 Nov 2003 11:20:05 +0000 (11:20 +0000)
src/coding.c

index f2bbc9293824720c9f328bf75449f61ce59a6b62..c87f117fe1be5f3e9beca472cf54dd02db62d1b4 100644 (file)
@@ -2125,9 +2125,10 @@ encode_coding_emacs_mule (coding)
          if (leading_codes[1])
            EMIT_ONE_BYTE (leading_codes[1]);
          if (dimension == 1)
-           EMIT_ONE_BYTE (code);
+           EMIT_ONE_BYTE (code | 0x80);
          else
            {
+             code |= 0x8080;
              EMIT_ONE_BYTE (code >> 8);
              EMIT_ONE_BYTE (code & 0xFF);
            }