# HG changeset patch # User Eli Zaretskii # Date 1088852436 0 # Node ID b6377908f1d4933e679109e90f6b9b1f9b21cb22 # Parent e8ac4e60a4e1c0e632b0018679168d38d0b9b61b (dos_rawgetc): Use make_number to produce Lisp objects for event.x and event.y. diff -r e8ac4e60a4e1 -r b6377908f1d4 src/msdos.c --- 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 ();