From: Steven Tamm Date: Thu, 3 Feb 2005 07:09:43 +0000 (+0000) Subject: * macfns.c (unwind_create_frame): Fixing compile error due to X-Git-Tag: ttn-vms-21-2-B4~2452 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f6c62d96905001cee7e45e1e4e621fdcda9dabbf;p=emacs.git * macfns.c (unwind_create_frame): Fixing compile error due to xassert being uncondition, but predicate is. --- diff --git a/src/ChangeLog b/src/ChangeLog index 16b6256556c..4dcf9208643 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,7 +1,9 @@ 2005-02-02 Steven Tamm + * macfns.c (unwind_create_frame): Fixing compile error due to + xassert being uncondition, but predicate is. * dispnew.c (update_window): Fixing compile error due to - GLYPH_DEBUG being undefined. + xassert being uncondition, but predicate is. 2005-02-02 Miles Bader diff --git a/src/macfns.c b/src/macfns.c index 33da9091575..416522b49b9 100644 --- a/src/macfns.c +++ b/src/macfns.c @@ -2527,9 +2527,11 @@ unwind_create_frame (frame) 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; }