summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-08-12 15:21:10 +0000
committerDavid Robillard <d@drobilla.net>2015-08-12 15:21:10 +0000
commit577570aa55b2ca0eba7759d13624b179275d65b8 (patch)
treecdb3a1b137d369601f25cbec6e04a54f68570af1 /src/client
parentdd79e76e41446833088482588456afed37231bff (diff)
downloadingen-577570aa55b2ca0eba7759d13624b179275d65b8.tar.gz
ingen-577570aa55b2ca0eba7759d13624b179275d65b8.tar.bz2
ingen-577570aa55b2ca0eba7759d13624b179275d65b8.zip
Fix URI comparison issues.
Fixes issue #1074. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5704 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/PluginModel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp
index 3a1f3a9a..93a48acf 100644
--- a/src/client/PluginModel.cpp
+++ b/src/client/PluginModel.cpp
@@ -50,9 +50,9 @@ PluginModel::PluginModel(URIs& uris,
{
if (!_type.is_valid()) {
if (uri.find("ingen-internals") != string::npos) {
- _type = uris.ingen_Internal;
+ _type = uris.ingen_Internal.urid;
} else {
- _type = uris.lv2_Plugin; // Assume LV2 and hope for the best...
+ _type = uris.lv2_Plugin.urid; // Assume LV2 and hope for the best...
}
}