Index: board.h =================================================================== --- board.h (revision 28096) +++ board.h (revision 28097) @@ -131,7 +131,7 @@ #define PCB_CSWAP_Y(y, h, cond) ((cond) ? (h+PCB_SWAP_SIGN_Y(y)) : (y)) /* Conditionally allow subc parts to be reached directly in search masks */ -#define PCB_LOOSE_SUBC (PCB->loose_subc ? PCB_OBJ_SUBC_PART : 0) +#define PCB_LOOSE_SUBC(pcb) ((pcb)->loose_subc ? PCB_OBJ_SUBC_PART : 0) /* changes the name of a layout; Name is allocated by the caller (no strdup() is made) */