Index: trunk/src/draw_ly_spec.c =================================================================== --- trunk/src/draw_ly_spec.c (revision 27883) +++ trunk/src/draw_ly_spec.c (revision 27884) @@ -148,7 +148,7 @@ /* Special case: 'global' location is not a specific location bit but lack of location bits; for that case listing will return every group and we need to filter by hand */ - if ((lyt_side == 0) && (grp->ltype & PCB_LYT_ANYWHERE != 0)) + if ((lyt_side == 0) && ((grp->ltype & PCB_LYT_ANYWHERE) != 0)) continue; /* workaround: in direct export group visibility is not really set