Index: obj_line_drcenf.c =================================================================== --- obj_line_drcenf.c (revision 7734) +++ obj_line_drcenf.c (revision 7735) @@ -287,7 +287,7 @@ } group = pcb_layer_get_group(PCB, INDEXOFCURRENT); comp = pcb_max_group + 10; /* this out-of-range group might save a call */ - if (pcb_layergrp_flags(group) & PCB_LYT_BOTTOM) + if (pcb_layergrp_flags(PCB, group) & PCB_LYT_BOTTOM) info.solder = pcb_true; else { info.solder = pcb_false; @@ -442,7 +442,7 @@ /* prepare for the intersection search */ group = pcb_layer_get_group(PCB, INDEXOFCURRENT); comp = pcb_max_group + 10; /* this out-of-range group might save a call */ - if (pcb_layergrp_flags(group) & PCB_LYT_BOTTOM) + if (pcb_layergrp_flags(PCB, group) & PCB_LYT_BOTTOM) info.solder = pcb_true; else { info.solder = pcb_false;