changeset 12729:21110e58640c

(kbd_buffer_get_event, swallow_events): Fix prev change.
author Richard M. Stallman <rms@gnu.org>
date Mon, 31 Jul 1995 05:34:55 +0000
parents abe3fc783a45
children 2f4bbd557180
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Mon Jul 31 01:28:39 1995 +0000
+++ b/src/keyboard.c	Mon Jul 31 05:34:55 1995 +0000
@@ -2582,7 +2582,7 @@
 	  copy = *event;
 	  kbd_fetch_ptr = event + 1;
 	  input_pending = readable_events ();
-	  x_handle_selection_clear (event);
+	  x_handle_selection_clear (&copy);
 #else
 	  /* We're getting selection request events, but we don't have
              a window system.  */
@@ -2790,7 +2790,7 @@
 
 	  kbd_fetch_ptr = event + 1;
 	  input_pending = readable_events ();
-	  x_handle_selection_clear (event);
+	  x_handle_selection_clear (&copy);
 #else
 	  /* We're getting selection request events, but we don't have
              a window system.  */