diff options
author | David Robillard <d@drobilla.net> | 2007-04-07 06:34:48 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-04-07 06:34:48 +0000 |
commit | f649db6cde35b90daa9d2144c0db22405d6584f6 (patch) | |
tree | 6288de054661a9514c9b515cccace04398085693 | |
parent | ad8fed85dac7a0c30c425e99738e0ad25e0f45a0 (diff) | |
download | lilv-f649db6cde35b90daa9d2144c0db22405d6584f6.tar.gz lilv-f649db6cde35b90daa9d2144c0db22405d6584f6.tar.bz2 lilv-f649db6cde35b90daa9d2144c0db22405d6584f6.zip |
Fixed query bug when referring to ports by symbol.
git-svn-id: http://svn.drobilla.net/lad/slv2@412 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/port.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -118,12 +118,13 @@ slv2_port_get_value(SLV2Plugin p, result = slv2_plugin_simple_query(p, query, "value"); free(query); + } else { char* query = slv2_strjoin( "SELECT DISTINCT ?value WHERE { \n" "plugin: lv2:port ?port . \n" - "?port lv2:symbol ", id.symbol, " ;\n\t", + "?port lv2:symbol \"", id.symbol, "\" ;\n\t", property, " ?value . \n}\n", NULL); result = slv2_plugin_simple_query(p, query, "value"); |