From: erg Date: Mon, 12 Apr 2010 21:58:26 +0000 (+0000) Subject: Fix bug 1923 X-Git-Tag: LAST_LIBGRAPH~32^2~1363 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27ec21a9adfe0e57565aa19373d274d9c185443a;p=graphviz Fix bug 1923 --- diff --git a/lib/common/shapes.c b/lib/common/shapes.c index 3d2ad14c7..5cda19ef4 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -2636,6 +2636,8 @@ port resolvePort(node_t * n, node_t * other, port * oldport) port rv; char *compass = closestSide(n, other, oldport); + /* transfer name pointer; all other necessary fields will be regenerated */ + rv.name = oldport->name; compassPort(n, oldport->bp, &rv, compass, oldport->side, NULL); return rv;