From: Kenichi Handa Date: Sat, 20 May 2000 00:06:41 +0000 (+0000) Subject: (w32_to_x_font): Setup members src_multibyte and X-Git-Tag: emacs-pretest-21.0.90~3865 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aab5ac4409ffabc544c0719db45c09e010dc264a;p=emacs.git (w32_to_x_font): Setup members src_multibyte and dst_multibyte of coding. (x_to_w32_font): Likewise. --- diff --git a/src/w32fns.c b/src/w32fns.c index 1c5aacd7ae0..3765124694e 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -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;