mirror of
https://github.com/StefanSchippers/xschem.git
synced 2026-08-22 06:07:29 +02:00
fix unitialized .dash field for rectangles (in the added pins in LCC schematics)
This commit is contained in:
+2
-1
@@ -1533,7 +1533,6 @@ int load_sym_def(const char *name, FILE *embed_fd)
|
|||||||
} else
|
} else
|
||||||
bb[c][i].dash = 0;
|
bb[c][i].dash = 0;
|
||||||
bb[c][i].sel = 0;
|
bb[c][i].sel = 0;
|
||||||
|
|
||||||
lastr[c]++;
|
lastr[c]++;
|
||||||
break;
|
break;
|
||||||
case 'T':
|
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_snprintf(pin_label, save, "name=%s dir=inout ", label);
|
||||||
}
|
}
|
||||||
my_strdup(463, &bb[PINLAYER][i].prop_ptr, pin_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= */
|
/* add to symbol pins remaining attributes from schematic pins, except name= and lab= */
|
||||||
|
|
||||||
|
|||||||
@@ -170,6 +170,8 @@ proc convert_to_pdf {filename dest} {
|
|||||||
if { ![xschem get debug_var] } {
|
if { ![xschem get debug_var] } {
|
||||||
file delete $filename
|
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] } {
|
if { ![xschem get debug_var] } {
|
||||||
file delete $filename
|
file delete $filename
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
puts stderr "problems converting xpm to png: $msg"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user