diff options
| author | Jan Djärv | 2005-06-30 18:02:52 +0000 |
|---|---|---|
| committer | Jan Djärv | 2005-06-30 18:02:52 +0000 |
| commit | a6d0ae558ac9a0ebd3e084c883efdadcc00289a0 (patch) | |
| tree | 455f9fb30058eee0eb84cb843e9a31f14fcf827f /src/xterm.c | |
| parent | f42e164952a255f64243dc5fea6db568f981b6eb (diff) | |
| download | emacs-a6d0ae558ac9a0ebd3e084c883efdadcc00289a0.tar.gz emacs-a6d0ae558ac9a0ebd3e084c883efdadcc00289a0.zip | |
* xterm.c (handle_one_xevent): bzero compose_status when nbytes
is not zero.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index cc76bae7dbf..ab299d1fa36 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -6287,6 +6287,7 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) | |||
| 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. */ |