summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kicad/lib-parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kicad/lib-parse.c b/kicad/lib-parse.c
index dc9d56d..a850228 100644
--- a/kicad/lib-parse.c
+++ b/kicad/lib-parse.c
@@ -127,9 +127,10 @@ static bool parse_arc(struct lib_obj *obj, const char *line)
struct lib_arc *arc = &obj->u.arc;
int a1, a2;
+ arc->fill = 'N';
if (sscanf(line, "A %d %d %d %d %d %u %u %u %c",
&arc->x, &arc->y, &arc->r, &a1, &a2, &obj->unit, &obj->convert,
- &arc->thick, &arc->fill) != 9)
+ &arc->thick, &arc->fill) < 8)
return 0;
/*