mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Corrected DRC "why" message subsitution sequence "%a" so that it
corresponds to drcc_cdist, which encodes the area (not drcc_dist).
This commit is contained in:
+2
-2
@@ -225,8 +225,8 @@ drcSubstitute (cptr)
|
||||
wptr += strlen(wptr);
|
||||
break;
|
||||
case 'a':
|
||||
/* Replace with "dist" value in microns squared */
|
||||
value = (float)cptr->drcc_dist * oscale * oscale;
|
||||
/* Replace with "cdist" value in microns squared */
|
||||
value = (float)cptr->drcc_cdist * oscale * oscale;
|
||||
snprintf(wptr, 20, "%01.4gum^2", value);
|
||||
wptr += strlen(wptr);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user