Mercurial > emacs
diff src/xfns.c @ 83243:a464201fbd10
Fix xassert-related bootstrap errors.
* src/xfaces.c (x_free_gc): Protect xassert with GLYPH_DEBUG.
* src/xfns.c (unwind_create_frame): Ditto.
* src/dispnew.c (build_frame_matrix_from_leaf_window): Ditto.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-283
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Thu, 03 Feb 2005 23:44:58 +0000 |
parents | 3dcba0bc766b |
children | 86457de2420c |
line wrap: on
line diff
--- a/src/xfns.c Thu Feb 03 23:31:44 2005 +0000 +++ b/src/xfns.c Thu Feb 03 23:44:58 2005 +0000 @@ -2873,9 +2873,11 @@ x_free_frame_resources (f); +#if GLYPH_DEBUG /* Check that reference counts are indeed correct. */ xassert (dpyinfo->reference_count == dpyinfo_refcount); xassert (dpyinfo->image_cache->refcount == image_cache_refcount); +#endif return Qt; }