mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Correction to dbReComputeBboxFunc() to fix a potential issue with
an uninitialized bounding box value.
This commit is contained in:
@@ -621,6 +621,8 @@ dbReComputeBboxFunc(cellDef, boundProc, recurseProc)
|
||||
*/
|
||||
if ((foundAny = DBBoundCellPlane(cellDef, &extended, &rect)) > 0)
|
||||
area = rect;
|
||||
else
|
||||
extended = GeoNullRect;
|
||||
|
||||
for (pNum = PL_PAINTBASE; pNum < DBNumPlanes; pNum++)
|
||||
if (pNum != PL_DRC_CHECK)
|
||||
|
||||
Reference in New Issue
Block a user