summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-06-02 04:40:43 +0000
committerDavid Robillard <d@drobilla.net>2012-06-02 04:40:43 +0000
commit9c07b402fd51ec42a78d00881e70bf2cc284f0d6 (patch)
treeb50c9d1431faef8a690dac2d41c7f9e4f3bf51e5 /src
parent9680cb0fd0fae53cfa93b8524cd25b551a07d25d (diff)
downloadingen-9c07b402fd51ec42a78d00881e70bf2cc284f0d6.tar.gz
ingen-9c07b402fd51ec42a78d00881e70bf2cc284f0d6.tar.bz2
ingen-9c07b402fd51ec42a78d00881e70bf2cc284f0d6.zip
Use URI constants.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4492 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/server/ingen_lv2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp
index a4cd4247..146a9107 100644
--- a/src/server/ingen_lv2.cpp
+++ b/src/server/ingen_lv2.cpp
@@ -479,9 +479,9 @@ ingen_instantiate(const LV2_Descriptor* descriptor,
IngenPlugin* plugin = new IngenPlugin();
LV2_URID_Unmap* unmap = NULL;
for (int i = 0; features[i]; ++i) {
- if (!strcmp(features[i]->URI, LV2_URID_URI "#map")) {
+ if (!strcmp(features[i]->URI, LV2_URID__map)) {
plugin->map = (LV2_URID_Map*)features[i]->data;
- } else if (!strcmp(features[i]->URI, LV2_URID_URI "#unmap")) {
+ } else if (!strcmp(features[i]->URI, LV2_URID__unmap)) {
unmap = (LV2_URID_Unmap*)features[i]->data;
}
}