From c8e9bd0923f624945dd69e2af8b8a05c5a09d29c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 29 Sep 2011 00:53:39 +0000 Subject: Tidy. git-svn-id: http://svn.drobilla.net/serd/trunk@218 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- src/writer.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/writer.c') diff --git a/src/writer.c b/src/writer.c index cb68ed46..a3cb5eab 100644 --- a/src/writer.c +++ b/src/writer.c @@ -213,9 +213,9 @@ write_node(SerdWriter* writer, writer->sink("[]", 2, writer->stream); } else { writer->sink("_:", 2, writer->stream); - if (writer->bprefix - && !strncmp((const char*)node->buf, (const char*)writer->bprefix, - writer->bprefix_len)) { + if (writer->bprefix && !strncmp((const char*)node->buf, + (const char*)writer->bprefix, + writer->bprefix_len)) { writer->sink(node->buf + writer->bprefix_len, node->n_bytes - writer->bprefix_len, writer->stream); @@ -254,7 +254,8 @@ write_node(SerdWriter* writer, && ((node->flags & SERD_HAS_NEWLINE) || (node->flags & SERD_HAS_QUOTE))) { writer->sink("\"\"\"", 3, writer->stream); - write_text(writer, WRITE_LONG_STRING, node->buf, node->n_bytes, '\0'); + write_text(writer, WRITE_LONG_STRING, + node->buf, node->n_bytes, '\0'); writer->sink("\"\"\"", 3, writer->stream); } else { writer->sink("\"", 1, writer->stream); -- cgit v1.2.1