# HG changeset patch # User Kim F. Storm # Date 1107439727 0 # Node ID f2619addaa72d9ad54aaacc943657b65ba2f13ef # Parent 4a0a167cb6c4b12b710e115b05d67d2bba765567 (x_free_gc) [!GLYPH_DEBUG]: Fix xassert. diff -r 4a0a167cb6c4 -r f2619addaa72 src/xfaces.c --- a/src/xfaces.c Thu Feb 03 14:08:01 2005 +0000 +++ b/src/xfaces.c Thu Feb 03 14:08:47 2005 +0000 @@ -738,7 +738,7 @@ GC gc; { BLOCK_INPUT; - xassert (--ngcs >= 0); + IF_DEBUG (xassert (--ngcs >= 0)); XFreeGC (FRAME_X_DISPLAY (f), gc); UNBLOCK_INPUT; } @@ -771,7 +771,7 @@ GC gc; { BLOCK_INPUT; - xassert (--ngcs >= 0); + IF_DEBUG (xassert (--ngcs >= 0)); xfree (gc); UNBLOCK_INPUT; }