fix debug message causing a crash when doing a net highlight if design contains cells with no pins (filler, taps, etc) and highlight=true attr is set on symbols
This commit is contained in:
parent
2e18119645
commit
3611b95444
|
|
@ -1038,8 +1038,8 @@ void draw_hilight_net(int on_window)
|
||||||
}
|
}
|
||||||
else if(hilight_connected_inst) {
|
else if(hilight_connected_inst) {
|
||||||
int rects, j;
|
int rects, j;
|
||||||
dbg(2, "draw_hilight_net(): hilight_connected_inst inst=%d, node=%s\n", i, xctx->inst[i].node[0]);
|
|
||||||
if( (rects = (xctx->inst[i].ptr+ xctx->sym)->rects[PINLAYER]) > 0 ) {
|
if( (rects = (xctx->inst[i].ptr+ xctx->sym)->rects[PINLAYER]) > 0 ) {
|
||||||
|
dbg(2, "draw_hilight_net(): hilight_connected_inst inst=%d, node=%s\n", i, xctx->inst[i].node[0]);
|
||||||
for(j=0;j<rects;j++) {
|
for(j=0;j<rects;j++) {
|
||||||
if( xctx->inst[i].node && xctx->inst[i].node[j]) {
|
if( xctx->inst[i].node && xctx->inst[i].node[j]) {
|
||||||
entry=bus_hilight_lookup(xctx->inst[i].node[j], 0, XLOOKUP);
|
entry=bus_hilight_lookup(xctx->inst[i].node[j], 0, XLOOKUP);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
v {xschem version=2.9.8 file_version=1.2}
|
v {xschem version=2.9.9 file_version=1.2 }
|
||||||
G {}
|
G {}
|
||||||
K {}
|
K {}
|
||||||
V {}
|
V {}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue