changeset 43440:29dc2ac9c886

(kbd_buffer_get_event) [WINDOWSNT]: Corrected composing of language-change event.
author Kim F. Storm <storm@cua.dk>
date Wed, 20 Feb 2002 23:00:35 +0000
parents dffc7bf6189c
children 8a2a5b631640
files src/keyboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Wed Feb 20 22:36:29 2002 +0000
+++ b/src/keyboard.c	Wed Feb 20 23:00:35 2002 +0000
@@ -3721,7 +3721,7 @@
 	{
 	  /* Make an event (language-change (FRAME CHARSET LCID)).  */
 	  obj = Fcons (event->modifiers, Qnil);
-	  obj = Fcons (event->code, Qnil);
+	  obj = Fcons (event->code, obj);
 	  obj = Fcons (event->frame_or_window, obj);
 	  obj = Fcons (Qlanguage_change, Fcons (obj, Qnil));
 	  kbd_fetch_ptr = event + 1;