From 6eec11e50e5e5b3fd7424da270ccee3bdc3e934e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 21 Apr 2023 11:55:13 -0600 Subject: [PATCH] midi surfaces: fix debug trace string --- libs/ctrl-interface/midi_surface/midi_surface.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/ctrl-interface/midi_surface/midi_surface.cc b/libs/ctrl-interface/midi_surface/midi_surface.cc index 87b2316938..05e24d7157 100644 --- a/libs/ctrl-interface/midi_surface/midi_surface.cc +++ b/libs/ctrl-interface/midi_surface/midi_surface.cc @@ -186,7 +186,8 @@ MIDISurface::port_registration_handler () bool MIDISurface::connection_handler (std::weak_ptr, std::string name1, std::weak_ptr, std::string name2, bool yn) { - DEBUG_TRACE (DEBUG::MIDISurface, "FaderPort::connection_handler start\n"); + DEBUG_TRACE (DEBUG::MIDISurface, "MIDISurface::connection_handler start\n"); + if (!_input_port || !_output_port) { return false; }