Found another place where a bounds check on the clip area was not
done (at all), again resulting in negative capacitances.
This commit is contained in:
parent
8d985ea766
commit
3d4b3ad914
|
|
@ -4017,6 +4017,10 @@ extNodeAreaFunc(tile, arg)
|
|||
{
|
||||
TITORECT(tile, &r);
|
||||
GEOCLIP(&r, extNodeClipArea);
|
||||
|
||||
/* Check if the tile is outside the clip area */
|
||||
if ((r.r_xtop <= r.r_xbot) || (r.r_ytop < r.r_ybot)) continue;
|
||||
|
||||
area = (dlong)(r.r_xtop - r.r_xbot) * (dlong)(r.r_ytop - r.r_ybot);
|
||||
}
|
||||
else area = (dlong)(TOP(tile) - BOTTOM(tile)) * (dlong)(RIGHT(tile) - LEFT(tile));
|
||||
|
|
|
|||
Loading…
Reference in New Issue