changeset 29021:be2769eac1a5

(w32_to_x_font): Setup members src_multibyte and dst_multibyte of coding. (x_to_w32_font): Likewise.
author Kenichi Handa <handa@m17n.org>
date Sat, 20 May 2000 00:06:41 +0000
parents 041255b52348
children 3eec558de0ef
files src/w32fns.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Sat May 20 00:05:51 2000 +0000
+++ b/src/w32fns.c	Sat May 20 00:06:41 2000 +0000
@@ -5736,6 +5736,8 @@
 
   setup_coding_system (Fcheck_coding_system (Vw32_system_coding_system),
                        &coding);
+  coding.src_multibyte = 0;
+  coding.dst_multibyte = 1;
   coding.mode |= CODING_MODE_LAST_BLOCK;
   bufsz = decoding_buffer_size (&coding, LF_FACESIZE);
 
@@ -5851,6 +5853,8 @@
 
           setup_coding_system
             (Fcheck_coding_system (Vw32_system_coding_system), &coding);
+	  coding.src_multibyte = 1;
+	  coding.dst_multibyte = 1;
 	  bufsize = encoding_buffer_size (&coding, strlen (name));
 	  buf = (unsigned char *) alloca (bufsize);
           coding.mode |= CODING_MODE_LAST_BLOCK;