From 2887e4305f7ac07f513f26f2cc44582f09e2783b Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 24 Mar 2013 15:15:28 +0100 Subject: Fixed handling of internal signals in show command --- kernel/show.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/show.cc') diff --git a/kernel/show.cc b/kernel/show.cc index 22e2109f..942f5b26 100644 --- a/kernel/show.cc +++ b/kernel/show.cc @@ -201,14 +201,14 @@ struct ShowWorker const char *shape = "diamond"; if (it.second->port_input || it.second->port_output) shape = "octagon"; - if (it.first[0] == '\\') + if (it.first[0] == '\\') { fprintf(f, "n%d [ shape=%s, label=\"%s\" ];\n", id2num(it.first), shape, escape(it.first)); if (it.second->port_input) all_sources.insert(stringf("n%d", id2num(it.first))); else if (it.second->port_output) all_sinks.insert(stringf("n%d", id2num(it.first))); - else { + } else { wires_on_demand[stringf("n%d", id2num(it.first))] = it.first; } } -- cgit v1.2.3