1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-04 23:05:21 +02:00

eeshow/gui/gui.c (add_hist): initialize hist->libs_open

This is normally done by parse_files, except when we can't find the
schematics file.
This commit is contained in:
Werner Almesberger 2016-08-19 20:46:48 -03:00
parent a6640058ff
commit f244fa09c7

View File

@ -316,6 +316,7 @@ static void add_hist(void *user, struct hist *h)
hist = alloc_type(struct gui_hist);
hist->ctx = ctx;
hist->vcs_hist = h;
hist->libs_open = 0;
hist->identical = 0;
sch = parse_files(hist, ahc->n_args, ahc->args, ahc->recurse, prev);
hist->sheets = sch ? get_sheets(ctx, sch) : NULL;