changeset 89689:8c02d5cc8f27

(send_process): Be sure to set coding->src_multibyte.
author Kenichi Handa <handa@m17n.org>
date Mon, 29 Dec 2003 07:53:43 +0000
parents 0d74a1b6efa9
children dde1f8021ed6
files src/process.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Mon Dec 29 07:53:29 2003 +0000
+++ b/src/process.c	Mon Dec 29 07:53:43 2003 +0000
@@ -4810,6 +4810,7 @@
 	   original coding system specified for the current
 	   process.  */
 	setup_coding_system (XPROCESS (proc)->encode_coding_system, coding);
+      coding->src_multibyte = 1;
     }
   else
     {
@@ -4825,10 +4826,10 @@
 	      send_process (proc, "", 0, Qt);
 	      coding->mode &= CODING_MODE_LAST_BLOCK;
 	    }
-	  coding->src_multibyte = 0;
 	  setup_coding_system (raw_text_coding_system
 			       (Vlast_coding_system_used),
 			       coding);
+	  coding->src_multibyte = 0;
 	}
     }
   coding->dst_multibyte = 0;