else {
if (scf_eline__add_pin(el, p->cid, p->id) < 0)
return -ENOMEM;
+ p->lid = el->id;
goto next;
}
if (scf_eline__add_pin(el, p->cid, p->id) < 0)
return -ENOMEM;
+ p->lid = el->id;
next:
p = NULL;
}
if (ret < 0)
return ret;
- if (j == el->n_conns / 2
- && el ->n_lines > 0
- && el2->n_lines > 0) {
-
- uint32_t tmp = el ->lines[0]->y0;
- el ->lines[0]->y0 = el2->lines[0]->y0;
- el2->lines[0]->y0 = tmp;
-
- el ->lines[0]->y1 = el ->lines[0]->y0;
- el2->lines[0]->y1 = el2->lines[0]->y0;
- }
break;
}
}