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)
This commit is contained in:
Eli Zaretskii 2015-09-11 10:56:18 +03:00
parent 8aa0386420
commit 2498790885

View file

@ -1009,7 +1009,7 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side
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