Index: trunk/src/obj_common.c =================================================================== --- trunk/src/obj_common.c (revision 19714) +++ trunk/src/obj_common.c (revision 19715) @@ -144,6 +144,8 @@ } } +#define istrue(s) ((*(s) == '1') || (*(s) == 'y') || (*(s) == 'Y') || (*(s) == 't') || (*(s) == 'T')) + void pcb_obj_attrib_post_change(pcb_attribute_list_t *list, const char *name, const char *value) { pcb_any_obj_t *obj = (pcb_any_obj_t *)(((char *)list) - offsetof(pcb_any_obj_t, Attributes)); @@ -154,6 +156,9 @@ if (inv != NULL) pcb_message(PCB_MSG_ERROR, "Invalid character '%c' in terminal name (term attribute) '%s'\n", *inv, obj->term); } + else if (strcmp(name, "intcut") == 0) { + obj->intcut = istrue(value); + } else if (strcmp(name, "intconn") == 0) { long cid = 0; if (value != NULL) { Index: trunk/src/obj_common.h =================================================================== --- trunk/src/obj_common.h (revision 19714) +++ trunk/src/obj_common.h (revision 19715) @@ -182,6 +182,7 @@ void *ratconn; \ unsigned char thermal; \ unsigned char intconn, intnoconn; \ + unsigned intcut:1; \ char override_color[sizeof("#XXXXXX")] /* Lines, pads, and rats all use this so they can be cross-cast. */