1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-23 14:39:53 +02:00

sch2fig/sch-parse.c (parse_field): write back realloc'ed pointer

This commit is contained in:
Werner Almesberger 2016-08-01 01:23:57 -03:00
parent 75e16031a0
commit d8cef3308f

View File

@ -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;