summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-04 02:02:37 +0000
committerDavid Robillard <d@drobilla.net>2011-02-04 02:02:37 +0000
commit038ba37463938c61b1829603a80f8d8c4d22e3ae (patch)
treeb4f31bbeb53a316f0d0a32e6a9223f49f64ebb69 /src/plugin.c
parente17e2794be39b9d1438159822e7c5e75e0638f50 (diff)
downloadlilv-038ba37463938c61b1829603a80f8d8c4d22e3ae.tar.gz
lilv-038ba37463938c61b1829603a80f8d8c4d22e3ae.tar.bz2
lilv-038ba37463938c61b1829603a80f8d8c4d22e3ae.zip
Tidy.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2901 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 544a5eb..3244692 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -237,7 +237,7 @@ void
slv2_plugin_load(SLV2Plugin p)
{
// Parse all the plugin's data files into RDF model
- for (unsigned i=0; i < slv2_values_size(p->data_uris); ++i) {
+ for (unsigned i = 0; i < slv2_values_size(p->data_uris); ++i) {
SLV2Value data_uri_val = slv2_values_get_at(p->data_uris, i);
sord_read_file(p->world->model,
sord_node_get_string(data_uri_val->val.uri_val),
@@ -544,7 +544,7 @@ slv2_plugin_get_num_ports_of_class(SLV2Plugin p,
uint32_t ret = 0;
va_list args;
- for (unsigned i=0; i < p->num_ports; ++i) {
+ for (unsigned i = 0; i < p->num_ports; ++i) {
SLV2Port port = p->ports[i];
if (!port || !slv2_port_is_a(p, port, class_1))
continue;
@@ -691,7 +691,7 @@ slv2_plugin_get_port_by_symbol(SLV2Plugin p,
SLV2Value symbol)
{
slv2_plugin_load_ports_if_necessary(p);
- for (uint32_t i=0; i < p->num_ports; ++i) {
+ for (uint32_t i = 0; i < p->num_ports; ++i) {
SLV2Port port = p->ports[i];
if (slv2_value_equals(port->symbol, symbol))
return port;