diff options
| author | Karoly Lorentey | 2006-02-25 01:05:42 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2006-02-25 01:05:42 +0000 |
| commit | 486420a97fe176f78e326130b96e1f5eb8e8acb3 (patch) | |
| tree | 73d6c5ca5f6b11d0dae120c2a52b1236c8bf5d43 /src | |
| parent | 475789a7d6e602ceed2980c2f2a1c41fc46b56e7 (diff) | |
| download | emacs-486420a97fe176f78e326130b96e1f5eb8e8acb3.tar.gz emacs-486420a97fe176f78e326130b96e1f5eb8e8acb3.zip | |
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')
| -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) | |||
| 2280 | if ((BUFFER_LOCAL_VALUEP (valcontents) | 2280 | if ((BUFFER_LOCAL_VALUEP (valcontents) |
| 2281 | || SOME_BUFFER_LOCAL_VALUEP (valcontents)) | 2281 | || SOME_BUFFER_LOCAL_VALUEP (valcontents)) |
| 2282 | && XBUFFER_LOCAL_VALUE (valcontents)->check_frame | 2282 | && XBUFFER_LOCAL_VALUE (valcontents)->check_frame |
| 2283 | && XBUFFER_LOCAL_VALUE (valcontents)->found_for_frame | ||
| 2283 | && XFRAME (XBUFFER_LOCAL_VALUE (valcontents)->frame) == f) | 2284 | && XFRAME (XBUFFER_LOCAL_VALUE (valcontents)->frame) == f) |
| 2284 | swap_in_global_binding (prop); | 2285 | swap_in_global_binding (prop); |
| 2285 | } | 2286 | } |