diff options
-rw-r--r-- | src/cairo-xlib-screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-xlib-screen.c b/src/cairo-xlib-screen.c index 800c6d2e..331fdb3a 100644 --- a/src/cairo-xlib-screen.c +++ b/src/cairo-xlib-screen.c @@ -284,7 +284,7 @@ _cairo_xlib_screen_close_display (cairo_xlib_screen_t *info) #endif for (i = 0; i < ARRAY_LENGTH (info->gc); i++) { - if (old >> (8*i) & 0x7f) + if ((old >> (8*i)) & 0xff) XFreeGC (dpy, info->gc[i]); } |