changeset 63886:577b0b13e4de

* xterm.c (handle_one_xevent): bzero compose_status when nbytes is not zero.
author Jan Djärv <jan.h.d@swipnet.se>
date Thu, 30 Jun 2005 18:02:52 +0000
parents 135b9f905ec6
children 396252178c2c
files src/ChangeLog src/xterm.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jun 30 16:45:04 2005 +0000
+++ b/src/ChangeLog	Thu Jun 30 18:02:52 2005 +0000
@@ -1,3 +1,8 @@
+2005-06-30  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
+
+	* xterm.c (handle_one_xevent): bzero compose_status when nbytes
+	is not zero.
+
 2005-07-01  Masatake YAMATO  <jet@gyve.org>
 
 	* emacs.c (main): Passing ADD_NO_RANDOMIZE to
--- a/src/xterm.c	Thu Jun 30 16:45:04 2005 +0000
+++ b/src/xterm.c	Thu Jun 30 18:02:52 2005 +0000
@@ -6287,6 +6287,7 @@
           if (compose_status.chars_matched > 0 && nbytes == 0)
             break;
 
+          bzero (&compose_status, sizeof (compose_status));
           orig_keysym = keysym;
 
 	  /* Common for all keysym input events.  */