summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-05-01 21:16:31 +0000
committerDavid Robillard <d@drobilla.net>2008-05-01 21:16:31 +0000
commit511114a36510db5d1e55261fd07c8a4bc0f705b8 (patch)
treee134a6a4f7d054bd1d808b3442b9450487f3a803 /src/libs/engine/events
parentc4145c33c0734ef39c8fa29affda567c36b3f4b3 (diff)
downloadingen-511114a36510db5d1e55261fd07c8a4bc0f705b8.tar.gz
ingen-511114a36510db5d1e55261fd07c8a4bc0f705b8.tar.bz2
ingen-511114a36510db5d1e55261fd07c8a4bc0f705b8.zip
GCC 4.3 fixes.
git-svn-id: http://svn.drobilla.net/lad/ingen@1191 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events')
-rw-r--r--src/libs/engine/events/CreatePortEvent.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/engine/events/CreatePortEvent.cpp b/src/libs/engine/events/CreatePortEvent.cpp
index 3cdda4d1..7c7d671b 100644
--- a/src/libs/engine/events/CreatePortEvent.cpp
+++ b/src/libs/engine/events/CreatePortEvent.cpp
@@ -142,13 +142,14 @@ CreatePortEvent::execute(ProcessContext& context)
_patch->external_ports(_ports_array);
}
- if (_driver_port)
+ if (_driver_port) {
if (_type == "ingen:AudioPort")
_engine.audio_driver()->add_port(_driver_port);
else if (_type == "ingen:MIDIPort")
_engine.midi_driver()->add_port(_driver_port);
else if (_type == "ingen:OSCPort")
cerr << "OSC DRIVER PORT" << endl;
+ }
if (_source)
_source->unblock();