summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-07-25 16:56:57 +0000
committerDavid Robillard <d@drobilla.net>2015-07-25 16:56:57 +0000
commitad79e2dc6054390691178a970facd52da54ab5bb (patch)
treef7412e62a1b78409c1298a681ba2784609ff7f42
parent21064b41624572e7a01b5ab2e52eee28fe7ec93e (diff)
downloadingen-ad79e2dc6054390691178a970facd52da54ab5bb.tar.gz
ingen-ad79e2dc6054390691178a970facd52da54ab5bb.tar.bz2
ingen-ad79e2dc6054390691178a970facd52da54ab5bb.zip
Fix crash when loading presets with invalid ports.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5698 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/server/events/Delta.cpp2
1 files changed, 1 insertions, 1 deletions
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<BlockImpl*>(_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;
}