summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/ConnectionImpl.cpp2
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()));
}