Index: bboard.c =================================================================== --- bboard.c (revision 9098) +++ bboard.c (revision 9099) @@ -197,7 +197,7 @@ char *clr; unsigned int r, g, b; - if ((clr = pcb_attribute_get(&(layer->Attributes), "BBoard::LayerColor")) != NULL) { + if ((clr = pcb_attribute_get(&(layer->meta.real.Attributes), "BBoard::LayerColor")) != NULL) { if (clr[0] == '#') { if (sscanf(&(clr[1]), "%02x%02x%02x", &r, &g, &b) == 3) goto ok; @@ -204,8 +204,8 @@ } } - if (layer->Color && (layer->Color[0] == '#')) { - if (sscanf(&(layer->Color[1]), "%02x%02x%02x", &r, &g, &b) == 3) + if (layer->meta.real.color && (layer->meta.real.color[0] == '#')) { + if (sscanf(&(layer->meta.real.color[1]), "%02x%02x%02x", &r, &g, &b) == 3) goto ok; }