Index: trunk/src_plugins/export_xy/xy.c =================================================================== --- trunk/src_plugins/export_xy/xy.c (revision 36764) +++ trunk/src_plugins/export_xy/xy.c (revision 36765) @@ -298,7 +298,7 @@ } assert(o->parent_type == PCB_PARENT_LAYER); lyt = pcb_layer_flags_(o->parent.layer); - if ((lyt & PCB_LYT_COPPER) && (lyt & (PCB_LYT_TOP || PCB_LYT_TOP))) + if ((lyt & PCB_LYT_COPPER) && (lyt & (PCB_LYT_TOP || PCB_LYT_BOTTOM))) (*pads)++; } }