From ad79e2dc6054390691178a970facd52da54ab5bb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 25 Jul 2015 16:56:57 +0000 Subject: Fix crash when loading presets with invalid ports. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5698 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/events/Delta.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server') diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp index 1d221230..7d2f896d 100644 --- a/src/server/events/Delta.cpp +++ b/src/server/events/Delta.cpp @@ -109,7 +109,7 @@ Delta::add_set_event(const char* port_symbol, BlockImpl* block = dynamic_cast(_object); PortImpl* port = block->port_by_symbol(port_symbol); if (!port) { - _engine.log().warn(fmt("Unknown port `%1' in state") % port_symbol); + _engine.log().warn(fmt("Unknown port `%1%' in state") % port_symbol); return; } -- cgit v1.2.1