diff options
author | Karoly Lorentey <lorentey@elte.hu> | 2006-02-25 01:05:42 +0000 |
---|---|---|
committer | Karoly Lorentey <lorentey@elte.hu> | 2006-02-25 01:05:42 +0000 |
commit | 486420a97fe176f78e326130b96e1f5eb8e8acb3 (patch) | |
tree | 73d6c5ca5f6b11d0dae120c2a52b1236c8bf5d43 /src/frame.c | |
parent | 475789a7d6e602ceed2980c2f2a1c41fc46b56e7 (diff) | |
download | emacs-486420a97fe176f78e326130b96e1f5eb8e8acb3.tar.gz |
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
Diffstat (limited to 'src/frame.c')
-rw-r--r-- | src/frame.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index 54c12eba6b6..5131f4959e1 100644 --- a/src/frame.c +++ b/src/frame.c @@ -2280,6 +2280,7 @@ store_frame_param (f, prop, val) 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); } |