Index: polyhelp.c =================================================================== --- polyhelp.c (revision 26936) +++ polyhelp.c (revision 26937) @@ -408,14 +408,14 @@ return -1; } - *period = dlg[wspc].default_val.coord_value; - if (dlg[wcont].default_val.int_value) *want_contour = 1; + *period = dlg[wspc].val.coord_value; + if (dlg[wcont].val.int_value) *want_contour = 1; *dir = 0; - if (dlg[whor].default_val.int_value) *dir |= PCB_CPOLY_HATCH_HORIZONTAL; - if (dlg[wver].default_val.int_value) *dir |= PCB_CPOLY_HATCH_VERTICAL; + if (dlg[whor].val.int_value) *dir |= PCB_CPOLY_HATCH_HORIZONTAL; + if (dlg[wver].val.int_value) *dir |= PCB_CPOLY_HATCH_VERTICAL; - *flg = pcb_flag_make(dlg[wclr].default_val.int_value ? PCB_FLAG_CLEARLINE : 0); + *flg = pcb_flag_make(dlg[wclr].val.int_value ? PCB_FLAG_CLEARLINE : 0); PCB_DAD_FREE(dlg); return 0;