author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-11 21:05:00 (GMT) |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-11 21:05:00 (GMT) |
commit | f569a6f2628b9ddef4dfb4424aff2dad644a8f19 (patch) (unidiff) | |
tree | 6d6e5b03bc97198c2002703591fe5e751978130c /src/meta.c | |
parent | 590e208c40797206fd6a93651fc59e0b68eeb545 (diff) | |
download | wydawca-f569a6f2628b9ddef4dfb4424aff2dad644a8f19.tar.gz wydawca-f569a6f2628b9ddef4dfb4424aff2dad644a8f19.tar.bz2 |
Improve the txtacc interface.
-rw-r--r-- | src/meta.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ meta_expand_string (const char *string, struct metadef *def, void *data, | |||
133 | txtacc_grow (acc, p, 1); | 133 | txtacc_grow (acc, p, 1); |
134 | } | 134 | } |
135 | txtacc_1grow (acc, 0); | 135 | txtacc_1grow (acc, 0); |
136 | res = xstrdup (txtacc_finish (acc)); | 136 | res = txtacc_finish (acc, 1); |
137 | txtacc_free (acc); | 137 | txtacc_free (acc); |
138 | return res; | 138 | return res; |
139 | } | 139 | } |