From 9c07b402fd51ec42a78d00881e70bf2cc284f0d6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Jun 2012 04:40:43 +0000 Subject: Use URI constants. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4492 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/ingen_lv2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/ingen_lv2.cpp') 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; } } -- cgit v1.2.1