mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-12-23 19:07:42 +02:00
sch2fig/sch-parse.c (parse_field): write back realloc'ed pointer
This commit is contained in:
parent
75e16031a0
commit
d8cef3308f
@ -134,6 +134,7 @@ static bool parse_field(struct sch_ctx *ctx, const char *line)
|
||||
sprintf(s + len, "%c%c",
|
||||
'A' + (comp->unit - 1) / 26 - 1,
|
||||
'A' + (comp->unit - 1) % 26);
|
||||
txt->s = s;
|
||||
}
|
||||
|
||||
field->next = comp->fields;
|
||||
|
Loading…
Reference in New Issue
Block a user