projects
/
graphviz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b749f21
)
Fix bug when generating polylines for simple multiedges
author
erg
<devnull@localhost>
Sat, 5 Dec 2009 23:20:13 +0000
(23:20 +0000)
committer
erg
<devnull@localhost>
Sat, 5 Dec 2009 23:20:13 +0000
(23:20 +0000)
lib/neatogen/neatosplines.c
patch
|
blob
|
history
diff --git
a/lib/neatogen/neatosplines.c
b/lib/neatogen/neatosplines.c
index 294c0c128e5bf0e9ebe9543ab59d0f2ed6836a5f..178d7bcabd430c4fc07b15a986f6ffe851f8675a 100644
(file)
--- a/
lib/neatogen/neatosplines.c
+++ b/
lib/neatogen/neatosplines.c
@@
-476,8
+476,8
@@
makeStraightEdge(graph_t * g, edge_t * e, int doPolyline)
line.pn = 4;
line.ps = pts;
- for (
i=0; i < 4; i
++) {
- pts[
i] = dumber[i
];
+ for (
j=0; j < 4; j
++) {
+ pts[
j] = dumber[j
];
}
make_polyline (line, &spl);
clip_and_install(e0, aghead(e0), spl.ps, spl.pn, &sinfo);