changeset 9288:9f9984bed1b3

(XSETFRAME): Set object type as well as value.
author Karl Heuer <kwzh@gnu.org>
date Tue, 04 Oct 1994 13:14:12 +0000
parents 781ada39b15c
children e5a850de0ba8
files src/frame.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.h	Tue Oct 04 13:12:44 1994 +0000
+++ b/src/frame.h	Tue Oct 04 13:14:12 1994 +0000
@@ -254,7 +254,7 @@
 typedef struct frame *FRAME_PTR;
 
 #define XFRAME(p) ((struct frame *) XPNTR (p))
-#define XSETFRAME(p, v) ((struct frame *) XSETPNTR (p, v))
+#define XSETFRAME(p, v) XSET (p, Lisp_Frame, v)
 
 #define WINDOW_FRAME(w) (w)->frame