]> granicus.if.org Git - graphviz/commitdiff
init_gvc: remove unnecessary bracketing
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 30 Aug 2021 00:30:47 +0000 (17:30 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 4 Sep 2021 02:31:58 +0000 (19:31 -0700)
lib/common/emit.c

index db497cb39260ee4dae5558409a949868ce71ca4d..093bec7b07429455da5060876b7d53d72b517936 100644 (file)
@@ -3051,7 +3051,7 @@ static void init_gvc(GVC_t * gvc, graph_t * g)
     /* pagesize */
     gvc->graph_sets_pageSize = FALSE;
     gvc->pageSize = GD_drawing(g)->page;
-    if ((GD_drawing(g)->page.x > 0.001) && (GD_drawing(g)->page.y > 0.001))
+    if (GD_drawing(g)->page.x > 0.001 && GD_drawing(g)->page.y > 0.001)
         gvc->graph_sets_pageSize = TRUE;
 
     /* rotation */