XftFontDescription.st
branchjv
changeset 7717 bf77414d0c8d
parent 7715 925b859e1758
child 7718 6e51fc8b207f
--- a/XftFontDescription.st	Thu Nov 24 21:55:24 2016 +0000
+++ b/XftFontDescription.st	Thu Nov 24 23:20:54 2016 +0000
@@ -1599,7 +1599,7 @@
     if ( __INST(sharedDrawId) != nil ) {
 	if (XftDrawDrawable(XFT_DRAW(__INST(sharedDrawId))) == DRAWABLE(drawableId)) {
 	    __INST(sharedDrawId) = nil;
-	    XftDrawDestroy(DRAWABLE(drawableId));
+	    XftDrawDestroy(XFT_DRAW(__INST(sharedDrawId)));
 	}
     }
     RETURN (self);