From f41aa9bbd998be941adeeb158788b521da41e0d8 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 24 Dec 2021 08:53:03 -0800 Subject: [PATCH] translate_drawing: [nfc] use a bool for 'shift' for clearer intent --- lib/common/postproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/postproc.c b/lib/common/postproc.c index eec53409e..9ef367d57 100644 --- a/lib/common/postproc.c +++ b/lib/common/postproc.c @@ -146,7 +146,7 @@ static void translate_drawing(graph_t * g) { node_t *v; edge_t *e; - int shift = Offset.x || Offset.y; + bool shift = Offset.x || Offset.y; if (!shift && !Rankdir) return; -- 2.40.0