Index: rubberband.c =================================================================== --- rubberband.c (revision 12596) +++ rubberband.c (revision 12597) @@ -762,7 +762,7 @@ CheckPinForRubberbandConnection(rbnd, (pcb_pin_t *) Ptr1); break; - case PCB_TYPE_POLYGON: + case PCB_TYPE_POLY: if (pcb_layer_flags_((pcb_layer_t *)Ptr1) & PCB_LYT_COPPER) CheckPolygonForRubberbandConnection(rbnd, (pcb_layer_t *) Ptr1, (pcb_poly_t *) Ptr2); break;