changeset 21532:fff5e42d7b2a

(init_sys_modes): Fix mixing of Lisp_Object and int
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 13:10:35 +0000
parents 5811a3129878
children b7df83bf15ff
files src/sysdep.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Tue Apr 14 13:09:08 1998 +0000
+++ b/src/sysdep.c	Tue Apr 14 13:10:35 1998 +0000
@@ -1446,7 +1446,7 @@
       tty.main.tt2_char |= TT2$M_PASTHRU | TT2$M_XON;
 #else /* not VMS (BSD, that is) */
 #ifndef DOS_NT
-      Vtty_erase_char = tty.main.sg_erase;
+      XSETINT (Vtty_erase_char, tty.main.sg_erase);
       tty.main.sg_flags &= ~(ECHO | CRMOD | XTABS);
       if (meta_key)
 	tty.main.sg_flags |= ANYP;