From 1fa663f9b94279d2273fd235d60810dab5dc7d58 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sat, 22 Nov 2003 11:20:05 +0000 Subject: [PATCH] (encode_coding_emacs_mule): Emit bytes with MSB. --- src/coding.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/coding.c b/src/coding.c index f2bbc929382..c87f117fe1b 100644 --- a/src/coding.c +++ b/src/coding.c @@ -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); } -- 2.39.5