From 08c459c5ebd27e0c6895a6402caa272f8d82f5b8 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 18 Oct 2005 18:28:54 +0000 Subject: [PATCH] fix rankdir=RL and rankdir=BT --- lib/common/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/input.c b/lib/common/input.c index 02360a628..3cae9ddf9 100644 --- a/lib/common/input.c +++ b/lib/common/input.c @@ -517,7 +517,7 @@ void graph_init(graph_t * g, boolean use_rankdir) rankdir = RANKDIR_RL; } if (use_rankdir) - SET_RANKDIR (g, (rankdir << 2) || rankdir); + SET_RANKDIR (g, (rankdir << 2) | rankdir); else SET_RANKDIR (g, (rankdir << 2)); -- 2.40.0