Index: obj_line_drcenf.c =================================================================== --- obj_line_drcenf.c (revision 12040) +++ obj_line_drcenf.c (revision 12041) @@ -297,7 +297,7 @@ info.solder = pcb_true; else { info.solder = pcb_false; - pcb_layer_list(PCB_LYT_TOP | PCB_LYT_SILK, &comp, 1); + pcb_layer_list(PCB, PCB_LYT_TOP | PCB_LYT_SILK, &comp, 1); } temp = length; /* assume the worst */ @@ -452,7 +452,7 @@ info.solder = pcb_true; else { info.solder = pcb_false; - pcb_layer_list(PCB_LYT_TOP | PCB_LYT_SILK, &comp, 1); + pcb_layer_list(PCB, PCB_LYT_TOP | PCB_LYT_SILK, &comp, 1); } /* search for intersection */