HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generalize run-time debugging checks.
[bpt/emacs.git]
/
src
/
xfns.c
diff --git
a/src/xfns.c
b/src/xfns.c
index
02aefe9
..
00cf9f8
100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-2914,7
+2914,7
@@
unwind_create_frame (Lisp_Object frame)
/* If frame is ``official'', nothing to do. */
if (NILP (Fmemq (frame, Vframe_list)))
{
/* If frame is ``official'', nothing to do. */
if (NILP (Fmemq (frame, Vframe_list)))
{
-#if GLYPH_DEBUG &&
XASSERTS
+#if GLYPH_DEBUG &&
defined ENABLE_CHECKING
struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f);
#endif
struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f);
#endif
@@
-2923,8
+2923,8
@@
unwind_create_frame (Lisp_Object frame)
#if GLYPH_DEBUG
/* Check that reference counts are indeed correct. */
#if GLYPH_DEBUG
/* Check that reference counts are indeed correct. */
-
x
assert (dpyinfo->reference_count == dpyinfo_refcount);
-
x
assert (dpyinfo->terminal->image_cache->refcount == image_cache_refcount);
+
e
assert (dpyinfo->reference_count == dpyinfo_refcount);
+
e
assert (dpyinfo->terminal->image_cache->refcount == image_cache_refcount);
#endif
return Qt;
}
#endif
return Qt;
}