summaryrefslogtreecommitdiffstats
path: root/src/engine/events/ClearPatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/events/ClearPatch.cpp')
-rw-r--r--src/engine/events/ClearPatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/events/ClearPatch.cpp b/src/engine/events/ClearPatch.cpp
index 3957294e..92c0156c 100644
--- a/src/engine/events/ClearPatch.cpp
+++ b/src/engine/events/ClearPatch.cpp
@@ -117,7 +117,7 @@ ClearPatch::execute(ProcessContext& context)
if (port && port->type() == DataType::AUDIO) {
_driver_ports->push_back(
_engine.audio_driver()->remove_port(port->path()));
- } else if (port && port->type() == DataType::EVENT) {
+ } else if (port && port->type() == DataType::EVENTS) {
_driver_ports->push_back(
_engine.midi_driver()->remove_port(port->path()));
}