]> git.eshelyaron.com Git - emacs.git/commitdiff
(w32_to_x_font): Setup members src_multibyte and
authorKenichi Handa <handa@m17n.org>
Sat, 20 May 2000 00:06:41 +0000 (00:06 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 20 May 2000 00:06:41 +0000 (00:06 +0000)
dst_multibyte of coding.
(x_to_w32_font): Likewise.

src/w32fns.c

index 1c5aacd7ae04a5d2c3bb4ca3510abfedfed30abd..3765124694e22dca15b545ed635bf164c34f46db 100644 (file)
@@ -5736,6 +5736,8 @@ w32_to_x_font (lplogfont, lpxstr, len)
 
   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 @@ x_to_w32_font (lpxstr, lplogfont)
 
           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;