aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-10 02:05:24 +0000
committerDavid Robillard <d@drobilla.net>2012-05-10 02:05:24 +0000
commit72e9384685b7b468dfb286079ef85e5fcb248432 (patch)
treed0abdcf41b0d3422bbc0fc2c3dbf06503f2d091d /src
parent4de86fdfb643dbe7113e261998c5e159f940b7d4 (diff)
downloadserd-72e9384685b7b468dfb286079ef85e5fcb248432.tar.gz
serd-72e9384685b7b468dfb286079ef85e5fcb248432.tar.bz2
serd-72e9384685b7b468dfb286079ef85e5fcb248432.zip
Reset indent when finishing a write.
git-svn-id: http://svn.drobilla.net/serd/trunk@351 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src')
-rw-r--r--src/writer.c1
1 files changed, 1 insertions, 0 deletions
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);
}