Index: obj_common.c =================================================================== --- obj_common.c (revision 10899) +++ obj_common.c (revision 10900) @@ -28,6 +28,7 @@ #include "config.h" +#include #include "conf_core.h" #include "global_typedefs.h" #include "const.h" @@ -146,3 +147,10 @@ *y = (obj->BoundingBox.Y1 + obj->BoundingBox.Y2) / 2; } } + +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)); + if (strcmp(name, "term") == 0) + obj->term = value; +}