emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 2498790: Fix NS build with --enable-checking='glyph


From: Eli Zaretskii
Subject: [Emacs-diffs] master 2498790: Fix NS build with --enable-checking='glyphs'
Date: Fri, 11 Sep 2015 07:57:26 +0000

branch: master
commit 24987908857f6cc5e25f17638db45a73f32603a3
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix NS build with --enable-checking='glyphs'
    
    * src/nsfns.m (unwind_create_frame): Make the preprocessor
    conditionals for referencing 'dpyinfo' consistent throughout the
    function.  (Bug#21426)
---
 src/nsfns.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/nsfns.m b/src/nsfns.m
index 89b9f7c..9c805ac 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -1009,7 +1009,7 @@ unwind_create_frame (Lisp_Object frame)
       x_free_frame_resources (f);
       free_glyphs (f);
 
-#ifdef GLYPH_DEBUG
+#if defined GLYPH_DEBUG && defined ENABLE_CHECKING
       /* Check that reference counts are indeed correct.  */
       eassert (dpyinfo->terminal->image_cache->refcount == 
image_cache_refcount);
 #endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]