summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2005-02-03 14:08:47 +0000
committerKim F. Storm <storm@cua.dk>2005-02-03 14:08:47 +0000
commita6d8ba25aec5b12c60286c55b109149d69d82e9a (patch)
treec0b1ab727107b6465dc04cc699dbe954943882ab
parent498c08eaef85bf9eada677ab5e38ba1c3f169235 (diff)
downloademacs-a6d8ba25aec5b12c60286c55b109149d69d82e9a.tar.gz
(x_free_gc) [!GLYPH_DEBUG]: Fix xassert.
-rw-r--r--src/xfaces.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 7aa66735db6..e1492e6b8bf 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -738,7 +738,7 @@ x_free_gc (f, gc)
GC gc;
{
BLOCK_INPUT;
- xassert (--ngcs >= 0);
+ IF_DEBUG (xassert (--ngcs >= 0));
XFreeGC (FRAME_X_DISPLAY (f), gc);
UNBLOCK_INPUT;
}
@@ -771,7 +771,7 @@ x_free_gc (f, gc)
GC gc;
{
BLOCK_INPUT;
- xassert (--ngcs >= 0);
+ IF_DEBUG (xassert (--ngcs >= 0));
xfree (gc);
UNBLOCK_INPUT;
}