aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2005-02-03 14:08:47 +0000
committerKim F. Storm2005-02-03 14:08:47 +0000
commita6d8ba25aec5b12c60286c55b109149d69d82e9a (patch)
treec0b1ab727107b6465dc04cc699dbe954943882ab /src
parent498c08eaef85bf9eada677ab5e38ba1c3f169235 (diff)
downloademacs-a6d8ba25aec5b12c60286c55b109149d69d82e9a.tar.gz
emacs-a6d8ba25aec5b12c60286c55b109149d69d82e9a.zip
(x_free_gc) [!GLYPH_DEBUG]: Fix xassert.
Diffstat (limited to 'src')
-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)
738 GC gc; 738 GC gc;
739{ 739{
740 BLOCK_INPUT; 740 BLOCK_INPUT;
741 xassert (--ngcs >= 0); 741 IF_DEBUG (xassert (--ngcs >= 0));
742 XFreeGC (FRAME_X_DISPLAY (f), gc); 742 XFreeGC (FRAME_X_DISPLAY (f), gc);
743 UNBLOCK_INPUT; 743 UNBLOCK_INPUT;
744} 744}
@@ -771,7 +771,7 @@ x_free_gc (f, gc)
771 GC gc; 771 GC gc;
772{ 772{
773 BLOCK_INPUT; 773 BLOCK_INPUT;
774 xassert (--ngcs >= 0); 774 IF_DEBUG (xassert (--ngcs >= 0));
775 xfree (gc); 775 xfree (gc);
776 UNBLOCK_INPUT; 776 UNBLOCK_INPUT;
777} 777}