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;
|
||||
CellDef *flatDef = lefdata->lefFlat;
|
||||
Rect area;
|
||||
TileType ttype;
|
||||
TileType ttype, otype;
|
||||
|
||||
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 */
|
||||
DBErase(flatDef, &area, ttype);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue