]> granicus.if.org Git - graphviz/commitdiff
Clarify && clause
authorerg <devnull@localhost>
Tue, 19 May 2009 15:05:08 +0000 (15:05 +0000)
committererg <devnull@localhost>
Tue, 19 May 2009 15:05:08 +0000 (15:05 +0000)
lib/neatogen/neatoinit.c

index 153f77bf0a555311bb3272c69c0734ec5feca591..90f8a65b70089afde0d16fe06213d5d1d5bdb283 100644 (file)
@@ -689,7 +689,7 @@ int init_nop(Agraph_t * g, int adjust)
     nop_init_graphs(g, G_lp, G_bb);
     posEdges = nop_init_edges(g);
 
-    if (adjust && Nop == 1)
+    if (adjust && (Nop == 1))
        didAdjust = adjustNodes(g);
 
     if (didAdjust) {