diff --git a/src/netlist.c b/src/netlist.c index 5b59e5e6..87017b09 100644 --- a/src/netlist.c +++ b/src/netlist.c @@ -1071,7 +1071,8 @@ static int name_nodes_of_pins_labels_and_propagate() strcmp(type, "attributes") && strcmp(type, "netlist_options") && strcmp(type, "use")) { - my_snprintf(str, S(str), "Warning: instance: %d (%s): no name attribute set", i, inst[i].name); + my_snprintf(str, S(str), "Warning: instance: %s (%s): no name attribute set", + inst[i].instname, inst[i].name); statusmsg(str,2); inst[i].color = -PINLAYER; xctx->hilight_nets=1; diff --git a/src/xschem.tcl b/src/xschem.tcl index 7a61cb46..bf87d2a5 100644 --- a/src/xschem.tcl +++ b/src/xschem.tcl @@ -4411,9 +4411,11 @@ proc show_infotext {{err 0}} { set s $show_infowindow_after_netlist if {$s == 1} { set s always} if {$s == 0} { set s onerror} + if {[info exists has_x]} { + infowindow + } if {($s eq {always}) || ($err != 0 && $s eq {onerror})} { if {[info exists has_x]} { - infowindow wm deiconify .infotext } else { puts stderr [xschem get infowindow_text]