summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-10-04 12:26:19 +0000
committerKarl Heuer <kwzh@gnu.org>1994-10-04 12:26:19 +0000
commitc3b793f1ad90ae3b803a6ba2867e03ddfc25dab9 (patch)
treebd5c2da99bc70bdd5129321c165420b47dbda333 /src/sysdep.c
parent5b3ed981289c00143c793ea6287ce2506936bcd7 (diff)
downloademacs-c3b793f1ad90ae3b803a6ba2867e03ddfc25dab9.tar.gz
(kbd_input_ast, read_input_waiting): Use new accessor macros instead of
calling XSET directly.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index a696e2192d4..36527dd735b 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1704,9 +1704,9 @@ kbd_input_ast ()
{
struct input_event e;
e.kind = ascii_keystroke;
- XSET (e.code, Lisp_Int, c);
+ XSETINT (e.code, c);
#ifdef MULTI_FRAME
- XSET(e.frame_or_window, Lisp_Frame, selected_frame);
+ XSETFRAME (e.frame_or_window, selected_frame);
#else
e.frame_or_window = Qnil;
#endif
@@ -2335,7 +2335,7 @@ read_input_waiting ()
buf[i] &= ~0x80;
}
- XSET (e.code, Lisp_Int, buf[i]);
+ XSETINT (e.code, buf[i]);
kbd_buffer_store_event (&e);
/* Don't look at input that follows a C-g too closely.
This reduces lossage due to autorepeat on C-g. */