changeset 89642:e97441b6244b

(encode_coding_emacs_mule): Emit bytes with MSB.
author Kenichi Handa <handa@m17n.org>
date Sat, 22 Nov 2003 11:20:05 +0000
parents 30d05f6d5863
children 56f15cda6c48
files src/coding.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Sat Nov 22 11:04:28 2003 +0000
+++ b/src/coding.c	Sat Nov 22 11:20:05 2003 +0000
@@ -2125,9 +2125,10 @@
 	  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);
 	    }