Index: obj_subc_parent.h =================================================================== --- obj_subc_parent.h (revision 12596) +++ obj_subc_parent.h (revision 12597) @@ -67,7 +67,7 @@ return pcb_gobj_parent_subc(obj->parent_type, &obj->parent); case PCB_OBJ_LINE: - case PCB_OBJ_POLYGON: + case PCB_OBJ_POLY: case PCB_OBJ_TEXT: case PCB_OBJ_ARC: return pcb_lobj_parent_subc(obj->parent_type, &obj->parent);