1
0
forked from GitHub/gf-core

bug fix in the linearizer

This commit is contained in:
kr.angelov
2013-11-04 12:40:53 +00:00
parent 6a672f5219
commit 5683367818

View File

@@ -278,7 +278,7 @@ pgf_lzn_resolve_def(PgfLzn* lzn,
PgfLiteralStr* lit_str =
gu_new_flex_variant(PGF_LITERAL_STR,
PgfLiteralStr,
val, strlen(s),
val, strlen(s)+1,
&clit->lit, pool);
strcpy((char*) lit_str->val, (char*) s);