summaryrefslogtreecommitdiffstats
path: root/src/plugins.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-13 16:04:14 +0000
committerDavid Robillard <d@drobilla.net>2009-05-13 16:04:14 +0000
commit0a04be1e9e8f3c6b355c014f5755bb30da0d5aec (patch)
treeb4eb149da0fc57af8c4e9356231aa191e6f1a118 /src/plugins.c
parent011d130c2b7f54b859ae41aac8b95d5825b975be (diff)
downloadlilv-0a04be1e9e8f3c6b355c014f5755bb30da0d5aec.tar.gz
lilv-0a04be1e9e8f3c6b355c014f5755bb30da0d5aec.tar.bz2
lilv-0a04be1e9e8f3c6b355c014f5755bb30da0d5aec.zip
Strip trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1999 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugins.c')
-rw-r--r--src/plugins.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins.c b/src/plugins.c
index f392bcd..97e1323 100644
--- a/src/plugins.c
+++ b/src/plugins.c
@@ -1,6 +1,6 @@
/* SLV2
* Copyright (C) 2007 Dave Robillard <http://drobilla.net>
- *
+ *
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
@@ -29,7 +29,7 @@
#include "slv2/util.h"
#include "slv2_internal.h"
-
+
SLV2Plugins
slv2_plugins_new()
{
@@ -71,11 +71,11 @@ SLV2Plugin
slv2_plugins_get_by_uri(SLV2Plugins list, SLV2Value uri)
{
// good old fashioned binary search
-
+
int lower = 0;
int upper = raptor_sequence_size(list) - 1;
int i;
-
+
while (upper >= lower) {
i = lower + ((upper - lower) / 2);
@@ -98,7 +98,7 @@ slv2_plugins_get_by_uri(SLV2Plugins list, SLV2Value uri)
SLV2Plugin
slv2_plugins_get_at(SLV2Plugins list, unsigned index)
-{
+{
if (index > INT_MAX)
return NULL;
else