Index: layer.h =================================================================== --- layer.h (revision 28080) +++ layer.h (revision 28081) @@ -186,8 +186,7 @@ /************ OLD API - new code should not use these **************/ -#define LAYER_ON_STACK(n) (&PCB->Data->Layer[pcb_layer_stack[(n)]]) -#define CURRENT (LAYER_ON_STACK(0)) +#define CURRENT (&PCB->Data->Layer[pcb_layer_stack[0]]) #define INDEXOFCURRENT (pcb_layer_stack[0]) #define LAYER_LOOP(data, ml) \