chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
249ddcc
)
rmstubs seems to work
author
ian
<ian>
Sun, 20 Mar 2005 17:59:52 +0000
(17:59 +0000)
committer
ian
<ian>
Sun, 20 Mar 2005 17:59:52 +0000
(17:59 +0000)
layout/.cvsignore
patch
|
blob
|
history
layout/redactgraph.c
patch
|
blob
|
history
diff --git
a/layout/.cvsignore
b/layout/.cvsignore
index 87b068e83de46d68759574978a71e9773aed49ee..510badea33e28bee55492f65287c59b656744391 100644
(file)
--- a/
layout/.cvsignore
+++ b/
layout/.cvsignore
@@
-8,6
+8,7
@@
ours-*.ps
*.m
*.run-layout
t.*
+u.*
subseg2display
compose-segenco
tmp.*
@@
-15,7
+16,6
@@
ui-plan-*.ppm
parts.ps
*-a.ps
ours.graph.c
-t.*
ours.redactgraph
ours.raw.neato.ps
ours.raw.neato
diff --git
a/layout/redactgraph.c
b/layout/redactgraph.c
index 29fa3f6998372fbd64365b4852c533bffdfd5237..da95ea32c80962a275d28f9333578ac552e4128e 100644
(file)
--- a/
layout/redactgraph.c
+++ b/
layout/redactgraph.c
@@
-404,6
+404,12
@@
static int movfeat_isinnernode(Node *node) {
trace_node(node);
all_segment= 0;
+ FOR_BOTH(side) {
+ if (!node->sides[side].head) {
+ trace(" %c terminus\n", "OI"[side]);
+ return 0;
+ }
+ }
FOR_NODE_EDGEENDS(side,edgeend, node) {
segment= edgeend->edge->subseg->segment;
if (!all_segment) {