projects
/
graphviz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3bab9d
)
Fix bug 1923
author
erg
<devnull@localhost>
Mon, 12 Apr 2010 21:58:26 +0000
(21:58 +0000)
committer
erg
<devnull@localhost>
Mon, 12 Apr 2010 21:58:26 +0000
(21:58 +0000)
lib/common/shapes.c
patch
|
blob
|
history
diff --git
a/lib/common/shapes.c
b/lib/common/shapes.c
index 3d2ad14c7d9bb361d501347d7ccfbc88f4ccc868..5cda19ef40e7573203cd4c5c160d1d9ccc138872 100644
(file)
--- 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;