diff src/xterm.c @ 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 bb26dfdf2698
children a8fa7c632ee4 efa9e4606e7e
line wrap: on
line diff
--- 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.  */