From 72e9384685b7b468dfb286079ef85e5fcb248432 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 10 May 2012 02:05:24 +0000 Subject: Reset indent when finishing a write. git-svn-id: http://svn.drobilla.net/serd/trunk@351 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- src/writer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); } -- cgit v1.2.1