From 2fce17698467bd83bdd99898f431d5dce8bfa598 Mon Sep 17 00:00:00 2001 From: ian Date: Sun, 20 Mar 2005 18:56:26 +0000 Subject: [PATCH] include distances --- layout/redactgraph.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layout/redactgraph.c b/layout/redactgraph.c index dcd5bd7..dfb08f8 100644 --- a/layout/redactgraph.c +++ b/layout/redactgraph.c @@ -1,6 +1,6 @@ /* * output format from printforforsafety is lines like this: - * segment . . [/] + * segment . . [/] * #... (comment) * (blank) * end (at end of file, mandatory) @@ -11,6 +11,7 @@ * is [...]* * where is alphabetic and is and * are in decimal and have no unnecessary leading 0's + * contains only digits and perhaps decimal point * semantic restrictions (not enforced by redactgraph but ought to * be impossible for layout designer to violate): * Each [/] appears exactly once. @@ -715,7 +716,7 @@ static void printforforsafety(void) { } output("*%d", edge->movpos); } - output("\n"); + output(" %f\n", edge->distance); } } output("end\n"); -- 2.30.2