diff options
Diffstat (limited to 'src/androidterm.c')
| -rw-r--r-- | src/androidterm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/androidterm.c b/src/androidterm.c index a44bae954da..767b7d8240c 100644 --- a/src/androidterm.c +++ b/src/androidterm.c | |||
| @@ -572,7 +572,7 @@ android_decode_utf16 (unsigned short *utf16, size_t n) | |||
| 572 | static void | 572 | static void |
| 573 | android_handle_ime_event (union android_event *event, struct frame *f) | 573 | android_handle_ime_event (union android_event *event, struct frame *f) |
| 574 | { | 574 | { |
| 575 | Lisp_Object text; | 575 | Lisp_Object text UNINIT; |
| 576 | 576 | ||
| 577 | /* First, decode the text if necessary. */ | 577 | /* First, decode the text if necessary. */ |
| 578 | 578 | ||
| @@ -4811,6 +4811,8 @@ NATIVE_NAME (setSelection) (JNIEnv *env, jobject object, jshort window, | |||
| 4811 | event.ime.position = start; | 4811 | event.ime.position = start; |
| 4812 | event.ime.text = NULL; | 4812 | event.ime.text = NULL; |
| 4813 | event.ime.counter = ++edit_counter; | 4813 | event.ime.counter = ++edit_counter; |
| 4814 | |||
| 4815 | android_write_event (&event); | ||
| 4814 | } | 4816 | } |
| 4815 | 4817 | ||
| 4816 | /* Structure describing the context for `getSelection'. */ | 4818 | /* Structure describing the context for `getSelection'. */ |