diff options
author | David Robillard <d@drobilla.net> | 2015-07-25 16:56:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-07-25 16:56:57 +0000 |
commit | ad79e2dc6054390691178a970facd52da54ab5bb (patch) | |
tree | f7412e62a1b78409c1298a681ba2784609ff7f42 /src | |
parent | 21064b41624572e7a01b5ab2e52eee28fe7ec93e (diff) | |
download | ingen-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
Diffstat (limited to 'src')
-rw-r--r-- | src/server/events/Delta.cpp | 2 |
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; } |