changeset 56335:b6377908f1d4

(dos_rawgetc): Use make_number to produce Lisp objects for event.x and event.y.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 03 Jul 2004 11:00:36 +0000
parents e8ac4e60a4e1
children 2c401662dff4
files src/msdos.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/msdos.c	Sat Jul 03 10:16:10 2004 +0000
+++ b/src/msdos.c	Sat Jul 03 11:00:36 2004 +0000
@@ -3456,8 +3456,8 @@
 		event.code = button_num;
 		event.modifiers = dos_get_modifiers (0)
 		  | (press ? down_modifier : up_modifier);
-		event.x = x;
-		event.y = y;
+		event.x = make_number (x);
+		event.y = make_number (y);
 		event.frame_or_window = selected_frame;
 		event.arg = Qnil;
 		event.timestamp = event_timestamp ();