summaryrefslogtreecommitdiffstats
path: root/src/collections.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/collections.c')
-rw-r--r--src/collections.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/collections.c b/src/collections.c
index 0049d1f..74d10df 100644
--- a/src/collections.c
+++ b/src/collections.c
@@ -42,7 +42,10 @@ lilv_collection_size(const LilvCollection* coll)
LilvIter*
lilv_collection_begin(const LilvCollection* collection)
{
- return collection ? g_sequence_get_begin_iter((LilvCollection*)collection) : NULL;
+ if (collection) {
+ return g_sequence_get_begin_iter((LilvCollection*)collection);
+ }
+ return NULL;
}
void*
@@ -82,7 +85,8 @@ lilv_plugin_classes_new(void)
LILV_API
const LilvPluginClass*
-lilv_plugin_classes_get_by_uri(const LilvPluginClasses* coll, const LilvNode* uri)
+lilv_plugin_classes_get_by_uri(const LilvPluginClasses* coll,
+ const LilvNode* uri)
{
return (LilvPluginClass*)lilv_sequence_get_by_uri(coll, uri);
}