mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-07 11:31:01 +02:00
Corrected an error with the recently-added "exception" DRC rule.
The logical expression for determining an excepted area was wrong for one direction, resulting in false positive DRC violations.
This commit is contained in:
+1
-1
@@ -830,7 +830,7 @@ drcTile (tile, dinfo, arg)
|
||||
* an exception area. Exception rules are ignored if
|
||||
* the edge is outside an exception area.
|
||||
*/
|
||||
if (!isinside && (!(cptr->drcc_exception & DRC_EXCEPTION_MASK) == 0))
|
||||
if (!isinside && ((cptr->drcc_exception & DRC_EXCEPTION_MASK) == 0))
|
||||
continue;
|
||||
if (isinside && ((cptr->drcc_exception & DRC_EXCEPTION_MASK) != 0))
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user