summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-02 12:16:14 -0400
committerDavid Robillard <d@drobilla.net>2016-10-02 12:27:23 -0400
commita374d438274e350ebc02175cec7d0c4faf8c6d73 (patch)
tree63d1b6620a3637a403b4b15bb205c57a4271e9c5
parent3433418d7698060b4307a206c086bb30a45f566b (diff)
downloadingen-a374d438274e350ebc02175cec7d0c4faf8c6d73.tar.gz
ingen-a374d438274e350ebc02175cec7d0c4faf8c6d73.tar.bz2
ingen-a374d438274e350ebc02175cec7d0c4faf8c6d73.zip
Fix custom UI port notifications
-rw-r--r--src/client/PluginUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/PluginUI.cpp b/src/client/PluginUI.cpp
index 4e246b63..0150cd0d 100644
--- a/src/client/PluginUI.cpp
+++ b/src/client/PluginUI.cpp
@@ -241,7 +241,7 @@ PluginUI::instantiate()
} else if (!lilv_node_is_uri(plug)) {
_world->log().error(fmt("%1% UI %2% notification has non-URI plugin\n")
% plugin_uri % lilv_node_as_string(_ui_node));
- } else if (strcmp(lilv_node_as_uri(plug), plugin_uri.c_str())) {
+ } else if (!strcmp(lilv_node_as_uri(plug), plugin_uri.c_str())) {
// Notification is valid and for this plugin
uint32_t index = lv2_ui_port_index(this, lilv_node_as_string(sym));
if (index != LV2UI_INVALID_PORT_INDEX) {