]> granicus.if.org Git - graphviz/commitdiff
Janitor: fix [-Wmisleading-indentation] from gcc6
authorJohn Ellson <ellson@research.att.com>
Thu, 25 Feb 2016 15:54:07 +0000 (10:54 -0500)
committerJohn Ellson <ellson@research.att.com>
Thu, 25 Feb 2016 15:54:07 +0000 (10:54 -0500)
cmd/mingle/minglemain.c

index 26ef1555caad467e6f36d94b313567849964fa86..9295ef6460df04eacffa53c901564d74e2d0e590 100644 (file)
@@ -493,10 +493,12 @@ bundle (Agraph_t* g, opts_t* opts)
 
        edges = edge_bundling(A, 2, x, opts->outer_iter, opts->K, opts->method, opts->nneighbors, opts->compatibility_method, opts->max_recursion, opts->angle_param, opts->angle, 0);
        
-       if (opts->fmt == FMT_GV)
-       export_dot (outfile, A->m, edges, g);
-    else
-       pedge_export_gv(outfile, A->m, edges);
+       if (opts->fmt == FMT_GV) {
+               export_dot (outfile, A->m, edges, g);
+       }
+       else {
+               pedge_export_gv(outfile, A->m, edges);
+       }
        return rv;
 }