From 6deb7d4f017ff0fcba5fc0f633824d64b3257e4f Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Wed, 19 Jan 2022 15:46:15 -0500 Subject: [PATCH] Missed a few calls in CIFsee.c to the routine that was modified in the previous commit, causing segfaults when using "cif see". --- cif/CIFsee.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cif/CIFsee.c b/cif/CIFsee.c index 352b2fd0..95208e73 100644 --- a/cif/CIFsee.c +++ b/cif/CIFsee.c @@ -163,7 +163,7 @@ CIFPaintLayer(rootDef, area, cifLayer, magicLayer, paintDef) scx.scx_trans = GeoIdentityTransform; (void) DBTreeSrTiles(&scx, &DBAllButSpaceAndDRCBits, 0, cifHierCopyFunc, (ClientData) CIFComponentDef); - CIFCopyMaskHints(rootDef, CIFComponentDef); + CIFCopyMaskHints(&scx, CIFComponentDef); DBTreeSrCells(&scx, 0, cifHierCopyMaskHints, (ClientData)CIFComponentDef); @@ -283,7 +283,7 @@ CIFSeeLayer(rootDef, area, layer) scx.scx_trans = GeoIdentityTransform; (void) DBTreeSrTiles(&scx, &DBAllButSpaceAndDRCBits, 0, cifHierCopyFunc, (ClientData) CIFComponentDef); - CIFCopyMaskHints(rootDef, CIFComponentDef); + CIFCopyMaskHints(&scx, CIFComponentDef); DBTreeSrCells(&scx, 0, cifHierCopyMaskHints, (ClientData)CIFComponentDef); @@ -453,7 +453,7 @@ CIFCoverageLayer(rootDef, area, layer, dolist) scx.scx_trans = GeoIdentityTransform; (void) DBTreeSrTiles(&scx, &DBAllButSpaceAndDRCBits, 0, cifHierCopyFunc, (ClientData) CIFComponentDef); - CIFCopyMaskHints(rootDef, CIFComponentDef); + CIFCopyMaskHints(&scx, CIFComponentDef); DBTreeSrCells(&scx, 0, cifHierCopyMaskHints, (ClientData)CIFComponentDef);