changeset 59881:7cbf9ea41a2a

* macfns.c (unwind_create_frame): Fixing compile error due to xassert being uncondition, but predicate is.
author Steven Tamm <steventamm@mac.com>
date Thu, 03 Feb 2005 07:09:43 +0000
parents 8e65810e7f24
children c0d4e9df6ed2
files src/ChangeLog src/macfns.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Feb 03 07:09:17 2005 +0000
+++ b/src/ChangeLog	Thu Feb 03 07:09:43 2005 +0000
@@ -1,7 +1,9 @@
 2005-02-02  Steven Tamm  <steventamm@mac.com>
 
+	* 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  <miles@gnu.org>
 
--- a/src/macfns.c	Thu Feb 03 07:09:17 2005 +0000
+++ b/src/macfns.c	Thu Feb 03 07:09:43 2005 +0000
@@ -2527,9 +2527,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;
     }