From 079da60958cd6adb450e6f489acd86282049ec64 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 21 Feb 2012 04:34:05 +0000 Subject: Trim code. git-svn-id: http://svn.drobilla.net/serd/trunk@322 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- src/writer.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/writer.c b/src/writer.c index 91113d97..8bdd3382 100644 --- a/src/writer.c +++ b/src/writer.c @@ -447,10 +447,8 @@ write_list_obj(SerdWriter* writer, --writer->indent; write_sep(writer, SEP_LIST_END); return true; - } else if (strcmp((const char*)predicate->buf, NS_RDF "rest")) { - if (!strcmp((const char*)predicate->buf, NS_RDF "first")) { - write_sep(writer, SEP_LIST_SEP); - } + } else if (!strcmp((const char*)predicate->buf, NS_RDF "first")) { + write_sep(writer, SEP_LIST_SEP); write_node(writer, object, datatype, lang, FIELD_OBJECT, flags); } return false; -- cgit v1.2.1