]> code.delx.au - gnu-emacs/commitdiff
* macfns.c (unwind_create_frame): Fixing compile error due to
authorSteven Tamm <steventamm@mac.com>
Thu, 3 Feb 2005 07:09:43 +0000 (07:09 +0000)
committerSteven Tamm <steventamm@mac.com>
Thu, 3 Feb 2005 07:09:43 +0000 (07:09 +0000)
xassert being uncondition, but predicate is.

src/ChangeLog
src/macfns.c

index 16b6256556c85a28302d386010c613c991bcacd2..4dcf92086430ec7dead7c811f20c2cc4c6d42d71 100644 (file)
@@ -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>
 
index 33da9091575de86582ea18ab2ced68aff2b5bfa7..416522b49b91efe9f8810c7a6c810fa18a9118e4 100644 (file)
@@ -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;
     }