Index: polyhelp.c =================================================================== --- polyhelp.c (revision 17408) +++ polyhelp.c (revision 17409) @@ -363,8 +363,9 @@ static const char pcb_acts_PolyHatch[] = "PolyHatch([spacing], [hvcp])\nPolyHatch(interactive)\n"; static const char pcb_acth_PolyHatch[] = "hatch the selected polygon(s) with lines of the current style; lines are drawn on the current layer; flags are h:horizontal, v:vertical, c:contour, p:poly"; -static int pcb_act_PolyHatch(int argc, const char **argv) +static int pcb_act_PolyHatch(int oargc, const char **oargv) { + PCB_OLD_ACT_BEGIN; pcb_coord_t period = 0; pcb_cpoly_hatchdir_t dir = 0; pcb_flag_t flg; @@ -464,12 +465,14 @@ pcb_cpoly_hatch_lines(CURRENT, polygon, dir, period, conf_core.design.line_thickness, conf_core.design.line_thickness * 2, flg); } PCB_ENDALL_LOOP; return 0; + PCB_OLD_ACT_END; } static const char pcb_acts_PolyOffs[] = "PolyOffs(offset)\n"; static const char pcb_acth_PolyOffs[] = "replicate the outer contour of the selected polygon(s) with growing or shrinking them by offset; the new polygon is drawn on the current layer"; -static int pcb_act_PolyOffs(int argc, const char **argv) +static int pcb_act_PolyOffs(int oargc, const char **oargv) { + PCB_OLD_ACT_BEGIN; pcb_coord_t offs; pcb_bool succ; @@ -493,6 +496,7 @@ PCB_FLAG_CLEAR(PCB_FLAG_SELECTED, p); } PCB_ENDALL_LOOP; return 0; + PCB_OLD_ACT_END; } Index: topoly.c =================================================================== --- topoly.c (revision 17408) +++ topoly.c (revision 17409) @@ -316,8 +316,9 @@ const char pcb_acts_topoly[] = "ToPoly()\nToPoly(outline)\n"; const char pcb_acth_topoly[] = "convert a closed loop of lines and arcs into a polygon"; -int pcb_act_topoly(int argc, const char **argv) +int pcb_act_topoly(int oargc, const char **oargv) { + PCB_OLD_ACT_BEGIN; void *r1, *r2, *r3; if (argc == 0) { @@ -340,4 +341,5 @@ pcb_topoly_conn(PCB, r2, 0); return 0; + PCB_OLD_ACT_END; } Index: topoly.h =================================================================== --- topoly.h (revision 17408) +++ topoly.h (revision 17409) @@ -45,6 +45,6 @@ extern const char pcb_acts_topoly[]; extern const char pcb_acth_topoly[]; -int pcb_act_topoly(int argc, const char **argv); +int pcb_act_topoly(int oargc, const char **oargv); #endif