aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2015-09-11 10:56:18 +0300
committerEli Zaretskii2015-09-11 10:56:18 +0300
commit24987908857f6cc5e25f17638db45a73f32603a3 (patch)
treefd1776f3f5475c098c25e49f146c611ef60e79ec /src
parent8aa0386420f9d982b99568f27a5953dfc737640e (diff)
downloademacs-24987908857f6cc5e25f17638db45a73f32603a3.tar.gz
emacs-24987908857f6cc5e25f17638db45a73f32603a3.zip
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)
Diffstat (limited to 'src')
-rw-r--r--src/nsfns.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsfns.m b/src/nsfns.m
index 89b9f7c4b62..9c805ac20d1 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -1009,7 +1009,7 @@ unwind_create_frame (Lisp_Object frame)
1009 x_free_frame_resources (f); 1009 x_free_frame_resources (f);
1010 free_glyphs (f); 1010 free_glyphs (f);
1011 1011
1012#ifdef GLYPH_DEBUG 1012#if defined GLYPH_DEBUG && defined ENABLE_CHECKING
1013 /* Check that reference counts are indeed correct. */ 1013 /* Check that reference counts are indeed correct. */
1014 eassert (dpyinfo->terminal->image_cache->refcount == image_cache_refcount); 1014 eassert (dpyinfo->terminal->image_cache->refcount == image_cache_refcount);
1015#endif 1015#endif