From 80cdf6829d69f8878b406f9b9e6ca844f4ba7cc4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 28 Jul 2008 22:38:19 +0000 Subject: Fix crash on patch loading. git-svn-id: http://svn.drobilla.net/lad/ingen@1297 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/events/SetPortValueEvent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs') diff --git a/src/libs/engine/events/SetPortValueEvent.cpp b/src/libs/engine/events/SetPortValueEvent.cpp index 29f3f6c7..cf4ce6fd 100644 --- a/src/libs/engine/events/SetPortValueEvent.cpp +++ b/src/libs/engine/events/SetPortValueEvent.cpp @@ -53,7 +53,7 @@ SetPortValueEvent::SetPortValueEvent(Engine& engine, , _port(NULL) , _error(NO_ERROR) { - if (_queued) + if (!_queued) pre_process(); memcpy(_data, data, data_size); @@ -80,7 +80,7 @@ SetPortValueEvent::SetPortValueEvent(Engine& engine, , _port(NULL) , _error(NO_ERROR) { - if (_queued) + if (!_queued) pre_process(); memcpy(_data, data, data_size); -- cgit v1.2.1