diff options
author | David Robillard <d@drobilla.net> | 2011-01-31 03:07:27 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-31 03:07:27 +0000 |
commit | e059806089ffafcf5b12f42ba13075280c940ec0 (patch) | |
tree | 6faea58ee656b8ccfd7ea113aef94e71bccadb8f /src/client | |
parent | ee76b8535cdd63311e77611832c744a2f9d1c3d3 (diff) | |
download | ingen-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/client')
-rw-r--r-- | src/client/PluginModel.cpp | 2 |
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; |