From cf864d7baf11a488c811cdabf3068cf76626b3fd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 17 Nov 2008 00:36:12 +0000 Subject: Fix crash. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1746 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/ConnectionImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/ConnectionImpl.cpp b/src/engine/ConnectionImpl.cpp index 9fec5700..79fb59e1 100644 --- a/src/engine/ConnectionImpl.cpp +++ b/src/engine/ConnectionImpl.cpp @@ -101,7 +101,7 @@ ConnectionImpl::set_buffer_size(size_t size) bool ConnectionImpl::must_copy() const { - return (_dst_port->fixed_buffers() || (_src_port->poly() != _dst_port->poly())); + return (_dst_port->fixed_buffers() && (_src_port->poly() != _dst_port->poly())); } -- cgit v1.2.1