Corrected an error in lefWrite where a variable was not set,
causing occasional intermittent crashes on "lef write".
This commit is contained in:
parent
97488ee0f8
commit
909c3a8c6a
|
|
@ -315,10 +315,17 @@ lefEraseGeometry(tile, cdata)
|
||||||
lefClient *lefdata = (lefClient *)cdata;
|
lefClient *lefdata = (lefClient *)cdata;
|
||||||
CellDef *flatDef = lefdata->lefFlat;
|
CellDef *flatDef = lefdata->lefFlat;
|
||||||
Rect area;
|
Rect area;
|
||||||
TileType ttype;
|
TileType ttype, otype;
|
||||||
|
|
||||||
TiToRect(tile, &area);
|
TiToRect(tile, &area);
|
||||||
|
|
||||||
|
otype = TiGetTypeExact(tile);
|
||||||
|
if (IsSplit(tile))
|
||||||
|
ttype = (otype & TT_SIDE) ? SplitRightType(tile) :
|
||||||
|
SplitLeftType(tile);
|
||||||
|
else
|
||||||
|
ttype = otype;
|
||||||
|
|
||||||
/* Erase the tile area out of lefFlat */
|
/* Erase the tile area out of lefFlat */
|
||||||
DBErase(flatDef, &area, ttype);
|
DBErase(flatDef, &area, ttype);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue