summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-31 03:07:27 +0000
committerDavid Robillard <d@drobilla.net>2011-01-31 03:07:27 +0000
commite059806089ffafcf5b12f42ba13075280c940ec0 (patch)
tree6faea58ee656b8ccfd7ea113aef94e71bccadb8f /src
parentee76b8535cdd63311e77611832c744a2f9d1c3d3 (diff)
downloadingen-e059806089ffafcf5b12f42ba13075280c940ec0.tar.gz
ingen-e059806089ffafcf5b12f42ba13075280c940ec0.tar.bz2
ingen-e059806089ffafcf5b12f42ba13075280c940ec0.zip
Fix broken loop.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2884 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/client/PluginModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp
index eec2d9b8..7515e997 100644
--- a/src/client/PluginModel.cpp
+++ b/src/client/PluginModel.cpp
@@ -105,7 +105,7 @@ PluginModel::get_property(const URI& key) const
SLV2Values values = slv2_plugin_get_value(_slv2_plugin, lv2_pred);
slv2_value_free(lv2_pred);
for (unsigned i = 0; i < slv2_values_size(values); ++i) {
- SLV2Value val = slv2_values_get_at(values, 0);
+ SLV2Value val = slv2_values_get_at(values, i);
if (slv2_value_is_uri(val)) {
ret = set_property(key, Atom(Atom::URI, slv2_value_as_uri(val)));
break;