From: Matthew Fernandez Date: Sat, 19 Jun 2021 20:19:04 +0000 (-0700) Subject: remove excess bracketing in eqEndSeg X-Git-Tag: 2.48.0~33^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e356d53f5b685213c744549c7f44e1998b7fa0a;p=graphviz remove excess bracketing in eqEndSeg --- diff --git a/lib/ortho/ortho.c b/lib/ortho/ortho.c index eb3523bfd..839c3d347 100644 --- a/lib/ortho/ortho.c +++ b/lib/ortho/ortho.c @@ -607,11 +607,10 @@ create_graphs(Dt_t* chans) static int eqEndSeg (bend S1l2, bend S2l2, bend T1, bend T2) { - if (((S1l2==T2)&&(S2l2!=T2)) - || ((S1l2==B_NODE)&&(S2l2==T1))) - return(0); + if ((S1l2==T2 && S2l2!=T2) || (S1l2==B_NODE && S2l2==T1)) + return 0; else - return(-1); + return -1; } static int