From 5cfbf666f409ba111a59ef2d09686be010af3e13 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 22 Aug 2016 04:39:25 -0300 Subject: [PATCH] eeshow/kicad/sexpr.c (sexpr_parse): properly end quoted strings --- eeshow/kicad/sexpr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeshow/kicad/sexpr.c b/eeshow/kicad/sexpr.c index d24aa2a..baf08ed 100644 --- a/eeshow/kicad/sexpr.c +++ b/eeshow/kicad/sexpr.c @@ -181,7 +181,7 @@ bool sexpr_parse(struct sexpr_ctx *ctx, const char *s) break; case '"': ctx->state = idle; - add_string(ctx, s); + end_string(ctx, s); break; case '\\': ctx->state = escape;