Index: teardrops.c =================================================================== --- teardrops.c (revision 15868) +++ teardrops.c (revision 15869) @@ -161,7 +161,7 @@ arc = pcb_arc_new(lay, (int) ax, (int) ay, (int) radius, (int) radius, (int) theta + 90 + aoffset, delta - aoffset, l->Thickness, l->Clearance, l->Flags); if (arc) - pcb_undo_add_obj_to_create(PCB_TYPE_ARC, lay, arc, arc); + pcb_undo_add_obj_to_create(PCB_OBJ_ARC, lay, arc, arc); ax = lx + dy * (x + t); ay = ly - dx * (x + t); @@ -169,7 +169,7 @@ arc = pcb_arc_new(lay, (int) ax, (int) ay, (int) radius, (int) radius, (int) theta - 90 - aoffset, -delta + aoffset, l->Thickness, l->Clearance, l->Flags); if (arc) - pcb_undo_add_obj_to_create(PCB_TYPE_ARC, lay, arc, arc); + pcb_undo_add_obj_to_create(PCB_OBJ_ARC, lay, arc, arc); radius += t * 1.9; aoffset = acos((double) adist / radius) * 180.0 / M_PI;