From ccf68df5196d4f96143f9157bfd345d6785934cd Mon Sep 17 00:00:00 2001 From: erg Date: Tue, 12 Feb 2008 23:03:25 +0000 Subject: [PATCH] Fix code so that layout of record shapes only depends on rankdir and not on the layout engine. --- lib/common/shapes.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/common/shapes.c b/lib/common/shapes.c index e252c41e1..c95506ce4 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -2016,10 +2016,8 @@ static void record_init(node_t * n) char *textbuf; /* temp buffer for storing labels */ int sides = BOTTOM | RIGHT | TOP | LEFT; - if (Nop) - flip = NOT(GD_realflip(n->graph)); - else - flip = NOT(GD_flip(n->graph)); + /* Always use rankdir to determine how records are laid out */ + flip = NOT(GD_realflip(n->graph)); reclblp = ND_label(n)->text; len = strlen(reclblp); textbuf = N_NEW(len + 1, char); -- 2.40.0