fix erroneous slotted instance recognition (confuse U2[3:0] with U3:2) in translate(), breaking in some cases the "net name on instance pin" feature

This commit is contained in:
Stefan Schippers 2020-10-03 01:13:35 +02:00
parent 40d05a2c60
commit 5b72e307df
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ int callback(int event, int mx, int my, KeySym key,
mousey=Y_TO_XSCHEM(my);
mousex_snap=ROUND(mousex / cadsnap) * cadsnap;
mousey_snap=ROUND(mousey / cadsnap) * cadsnap;
my_snprintf(str, S(str), "mouse = %.16g %.16g - selected: %d path: %s",
if(lastselected > 1) my_snprintf(str, S(str), "mouse = %.16g %.16g - selected: %d path: %s",
mousex_snap, mousey_snap, lastselected, sch_path[currentsch] );
statusmsg(str,1);
switch(event)