From: erg Date: Tue, 12 Feb 2008 23:03:25 +0000 (+0000) Subject: Fix code so that layout of record shapes only depends on rankdir and X-Git-Tag: LAST_LIBGRAPH~32^2~4729 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ccf68df5196d4f96143f9157bfd345d6785934cd;p=graphviz Fix code so that layout of record shapes only depends on rankdir and not on the layout engine. --- 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);