summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-04 21:24:48 +0000
committerDavid Robillard <d@drobilla.net>2014-01-04 21:24:48 +0000
commit5da527ea1e21608f091e5db0f29ed58754a590c4 (patch)
treee89e707833e838c9b4c16ee0c76aec5f27427b4d /src
parentd30fb311225a6548aa1d6f42ea39a268b327d96d (diff)
downloadlilv-5da527ea1e21608f091e5db0f29ed58754a590c4.tar.gz
lilv-5da527ea1e21608f091e5db0f29ed58754a590c4.tar.bz2
lilv-5da527ea1e21608f091e5db0f29ed58754a590c4.zip
Fix bugs introduced in r5255.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5262 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/plugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 0ff7f9f..b0a726e 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -649,7 +649,7 @@ lilv_plugin_get_port_by_property(const LilvPlugin* plugin,
LilvPort* port = plugin->ports[i];
SordIter* iter = lilv_world_query_internal(
plugin->world,
- port->node,
+ port->node->node,
plugin->world->uris.lv2_portProperty,
port_property->node);
@@ -676,7 +676,7 @@ lilv_plugin_get_port_by_designation(const LilvPlugin* plugin,
LilvPort* port = plugin->ports[i];
SordIter* iter = lilv_world_query_internal(
world,
- port->node,
+ port->node->node,
world->uris.lv2_designation,
designation->node);
@@ -1078,7 +1078,7 @@ lilv_plugin_write_description(LilvWorld* world,
for (uint32_t i = 0; i < num_ports; ++i) {
const LilvPort* port = plugin->ports[i];
SordIter* port_iter = lilv_world_query_internal(
- world, port->node, NULL, NULL);
+ world, port->node->node, NULL, NULL);
sord_write_iter(port_iter, writer);
}