summaryrefslogtreecommitdiff
path: root/gfx/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/diff.c')
-rw-r--r--gfx/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/diff.c b/gfx/diff.c
index b23370d..096c252 100644
--- a/gfx/diff.c
+++ b/gfx/diff.c
@@ -180,7 +180,7 @@ void *diff_process_file(struct diff *diff, struct file_names *file_names,
if (!file_open(&sch_file, fn->sch, file_names->pro ? &pro_file : NULL))
goto fail_open;
for (i = 0 ; i != fn->n_libs; i++)
- if (!lib_parse(&lib, fn->libs[i], &sch_file))
+ if (!lib_parse_search(&lib, fn->libs[i], fn, &sch_file))
goto fail_parse;
if (!sch_parse(&sch, &sch_file, &lib, NULL))
goto fail_parse;