Index: layer.h =================================================================== --- layer.h (revision 18003) +++ layer.h (revision 18004) @@ -118,7 +118,7 @@ struct { /* A real board layer */ pcb_layergrp_id_t grp; /* the group this layer is in (cross-reference) */ pcb_bool vis; /* visible flag */ - const char *color; /* color */ + char *color; /* strdup'd */ int no_drc; /* whether to ignore the layer when checking the design rules */ const char *cookie; /* for UI layers: registration cookie; NULL for unused UI layers */ } real;