summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/events/Delta.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp
index 16fc5d37..0c50aabc 100644
--- a/src/server/events/Delta.cpp
+++ b/src/server/events/Delta.cpp
@@ -514,9 +514,9 @@ Delta::execute(RunContext& context)
break;
case SpecialType::NONE:
if (port) {
- if (!strcmp(uris.lv2_minimum.c_str(), key.c_str())) {
+ if (key == uris.lv2_minimum) {
port->set_minimum(value);
- } else if (!strcmp(uris.lv2_maximum.c_str(), key.c_str())) {
+ } else if (key == uris.lv2_maximum) {
port->set_maximum(value);
}
}