From 07eb87e25f4ef962dd2442b5ea7f192bf7653e22 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 1 Aug 2016 13:04:52 -0300 Subject: [PATCH] sch2fig/sch.h (sch_parse): string argument is file name, not line --- sch2fig/sch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sch2fig/sch.h b/sch2fig/sch.h index 62ee69e..b1e2d70 100644 --- a/sch2fig/sch.h +++ b/sch2fig/sch.h @@ -117,7 +117,7 @@ struct sch_ctx { void decode_alignment(struct text *txt, char hor, char vert); void sch_render(const struct sheet *sheet); -void sch_parse(struct sch_ctx *ctx, const char *line, const struct lib *lib); +void sch_parse(struct sch_ctx *ctx, const char *file, const struct lib *lib); void sch_init(struct sch_ctx *ctx, bool recurse); #endif /* !SCH_H */