diff options
author | David Robillard <d@drobilla.net> | 2019-03-10 18:00:41 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-08 23:23:05 -0500 |
commit | 96a25084fbc1c749019f5e2b21b657dd3cf09c88 (patch) | |
tree | 0513818c27f9a355b96c73805a2adb7567ad30e8 | |
parent | 88d62ce67e070837761441717cdc37d66e1b1763 (diff) | |
download | serd-96a25084fbc1c749019f5e2b21b657dd3cf09c88.tar.gz serd-96a25084fbc1c749019f5e2b21b657dd3cf09c88.tar.bz2 serd-96a25084fbc1c749019f5e2b21b657dd3cf09c88.zip |
Reset writer to empty when finished to avoid spurious blank lines
-rw-r--r-- | src/writer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/writer.c b/src/writer.c index 1b691887..502d74d3 100644 --- a/src/writer.c +++ b/src/writer.c @@ -1075,6 +1075,7 @@ serd_writer_finish(SerdWriter* writer) free_context(writer); writer->indent = 0; writer->context = WRITE_CONTEXT_NULL; + writer->empty = true; return SERD_SUCCESS; } |