From: Matthew Fernandez Date: Fri, 24 Dec 2021 16:53:03 +0000 (-0800) Subject: translate_drawing: [nfc] use a bool for 'shift' for clearer intent X-Git-Tag: 3.0.0~111^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f41aa9bbd998be941adeeb158788b521da41e0d8;p=graphviz translate_drawing: [nfc] use a bool for 'shift' for clearer intent --- 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;