diff --git a/sch2fig/sch-parse.c b/sch2fig/sch-parse.c index 5b2fefa..9fde59f 100644 --- a/sch2fig/sch-parse.c +++ b/sch2fig/sch-parse.c @@ -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;