comparison 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
comparison
equal deleted inserted replaced
63885:135b9f905ec6 63886:577b0b13e4de
6285 /* If not using XIM/XIC, and a compose sequence is in progress, 6285 /* If not using XIM/XIC, and a compose sequence is in progress,
6286 we break here. Otherwise, chars_matched is always 0. */ 6286 we break here. Otherwise, chars_matched is always 0. */
6287 if (compose_status.chars_matched > 0 && nbytes == 0) 6287 if (compose_status.chars_matched > 0 && nbytes == 0)
6288 break; 6288 break;
6289 6289
6290 bzero (&compose_status, sizeof (compose_status));
6290 orig_keysym = keysym; 6291 orig_keysym = keysym;
6291 6292
6292 /* Common for all keysym input events. */ 6293 /* Common for all keysym input events. */
6293 XSETFRAME (inev.ie.frame_or_window, f); 6294 XSETFRAME (inev.ie.frame_or_window, f);
6294 inev.ie.modifiers 6295 inev.ie.modifiers