changeset 83481:6319046b5d4c

Fix bogus crash with -DENABLE_CHECKING. * src/frame.c (store_frame_param): Check for found_for_frame before calling XFRAME. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-521
author Karoly Lorentey <lorentey@elte.hu>
date Sat, 25 Feb 2006 01:05:42 +0000
parents 3cc2ba972850
children b55933c26094
files src/frame.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Fri Feb 24 13:44:56 2006 +0000
+++ b/src/frame.c	Sat Feb 25 01:05:42 2006 +0000
@@ -2280,6 +2280,7 @@
       if ((BUFFER_LOCAL_VALUEP (valcontents)
   	   || SOME_BUFFER_LOCAL_VALUEP (valcontents))
 	  && XBUFFER_LOCAL_VALUE (valcontents)->check_frame
+	  && XBUFFER_LOCAL_VALUE (valcontents)->found_for_frame
  	  && XFRAME (XBUFFER_LOCAL_VALUE (valcontents)->frame) == f)
  	swap_in_global_binding (prop);
     }