Index: polygon_act.c =================================================================== --- polygon_act.c (revision 31001) +++ polygon_act.c (revision 31002) @@ -98,7 +98,7 @@ RND_PCB_ACT_CONVARG(1, FGW_KEYWORD, Polygon, op = fgw_keyword(&argv[1])); - if ((argc > 1) && ((pcbhl_conf.editor.mode == pcb_crosshair.tool_poly) || (pcbhl_conf.editor.mode == pcb_crosshair.tool_poly_hole))) { + if ((argc > 1) && ((rnd_conf.editor.mode == pcb_crosshair.tool_poly) || (rnd_conf.editor.mode == pcb_crosshair.tool_poly_hole))) { rnd_hid_notify_crosshair_change(RND_ACT_HIDLIB, pcb_false); switch(op) { /* close open polygon if possible */