diff options
author | David Robillard <d@drobilla.net> | 2008-11-17 00:36:12 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-11-17 00:36:12 +0000 |
commit | cf864d7baf11a488c811cdabf3068cf76626b3fd (patch) | |
tree | f894883f3d7b64abe32a30114e9f9cc5141c2883 /src/engine | |
parent | 84f17a6e47b09b2f4c38674e9af668d4a6002c4d (diff) | |
download | ingen-cf864d7baf11a488c811cdabf3068cf76626b3fd.tar.gz ingen-cf864d7baf11a488c811cdabf3068cf76626b3fd.tar.bz2 ingen-cf864d7baf11a488c811cdabf3068cf76626b3fd.zip |
Fix crash.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1746 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/ConnectionImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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())); } |