*new = *e;
e->next = new;
- switch (e->label->type)
- {
- case SYMBOLIZER_TEXT:
- new->label = xmalloc(sizeof(struct sym_text));
- *((struct sym_text *) new->label) = *((struct sym_text *) e->label);
- break;
- default:
- ;
- }
+ new->label = sym_copy(e->label);
struct osm_node *n1 = e->n1->o;
struct osm_node *n2 = e->n2->o;