Commit a6d8ba25 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(x_free_gc) [!GLYPH_DEBUG]: Fix xassert.

parent 498c08ea
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment