Indenting fix in show.cc
authorClifford Wolf <clifford@clifford.at>
Tue, 23 Dec 2014 12:49:54 +0000 (13:49 +0100)
committerClifford Wolf <clifford@clifford.at>
Tue, 23 Dec 2014 12:49:54 +0000 (13:49 +0100)
passes/cmds/show.cc

index f61f195be7fa11b85e5b2934c740b793403eee96..edc417c02c3b8f8ba525a2c203a46ff9602268ee 100644 (file)
@@ -482,8 +482,8 @@ struct ShowWorker
 
                        if (left_node[0] == 'x' && right_node[0] == 'x') {
                                currentColor = xorshift32(currentColor);
-                       fprintf(f, "%s:e -> %s:w [arrowhead=odiamond, arrowtail=odiamond, dir=both, %s, %s];\n", left_node.c_str(), right_node.c_str(), nextColor(conn).c_str(), widthLabel(conn.first.size()).c_str());
-               } else {
+                               fprintf(f, "%s:e -> %s:w [arrowhead=odiamond, arrowtail=odiamond, dir=both, %s, %s];\n", left_node.c_str(), right_node.c_str(), nextColor(conn).c_str(), widthLabel(conn.first.size()).c_str());
+                       } else {
                                net_conn_map[right_node].bits = conn.first.size();
                                net_conn_map[right_node].color = nextColor(conn, net_conn_map[right_node].color);
                                net_conn_map[left_node].bits = conn.first.size();