diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/writer.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -2,6 +2,7 @@ serd (9999) unstable; * Add incremental read interface suitable for reading from infinite streams. * Add -e option to serdi to use incremental reading. + * Reset indent when finishing a write. -- David Robillard <d@drobilla.net> diff --git a/src/writer.c b/src/writer.c index b6dcecc1..b03e5afd 100644 --- a/src/writer.c +++ b/src/writer.c @@ -617,6 +617,7 @@ serd_writer_finish(SerdWriter* writer) if (writer->style & SERD_STYLE_BULK) { serd_bulk_sink_flush(&writer->bulk_sink); } + writer->indent = 0; return reset_context(writer, true); } |