xschem selected_set command: return instance names properly quoted

This commit is contained in:
stefan schippers 2023-04-06 10:55:01 +02:00
parent da8a5c0c04
commit 0bb50ce7ff
1 changed files with 1 additions and 1 deletions

View File

@ -2972,7 +2972,7 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg
for(n=0; n < xctx->lastsel; ++n) {
if(xctx->sel_array[n].type == ELEMENT) {
i = xctx->sel_array[n].n;
Tcl_AppendResult(interp, /* "{", */ xctx->inst[i].instname, " ", /* "} ", */ NULL);
Tcl_AppendResult(interp, "{", xctx->inst[i].instname, "} ", NULL);
}
}
}