fix unitialized .dash field for rectangles (in the added pins in LCC schematics)

This commit is contained in:
Stefan Schippers 2020-09-04 09:42:18 +02:00
parent 05651fd701
commit aad01a42f1
2 changed files with 6 additions and 1 deletions

View File

@ -1533,7 +1533,6 @@ int load_sym_def(const char *name, FILE *embed_fd)
} else
bb[c][i].dash = 0;
bb[c][i].sel = 0;
lastr[c]++;
break;
case 'T':
@ -1655,6 +1654,8 @@ int load_sym_def(const char *name, FILE *embed_fd)
my_snprintf(pin_label, save, "name=%s dir=inout ", label);
}
my_strdup(463, &bb[PINLAYER][i].prop_ptr, pin_label);
bb[PINLAYER][i].dash = 0;
bb[PINLAYER][i].sel = 0;
/* add to symbol pins remaining attributes from schematic pins, except name= and lab= */

View File

@ -170,6 +170,8 @@ proc convert_to_pdf {filename dest} {
if { ![xschem get debug_var] } {
file delete $filename
}
} else {
puts stderr "problems converting postscript to pdf: $msg"
}
}
@ -182,6 +184,8 @@ proc convert_to_png {filename dest} {
if { ![xschem get debug_var] } {
file delete $filename
}
} else {
puts stderr "problems converting xpm to png: $msg"
}
}