From 76b6c5ebfdf0bc0e7524685f94cf7bffb0f3988b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 31 Mar 2020 21:44:42 -0600 Subject: [PATCH] fix boolean logic PART TWO when trying to avoid complete_refill heuristic --- libs/ardour/disk_reader.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/disk_reader.cc b/libs/ardour/disk_reader.cc index f1ac6e6506..3acd546c07 100644 --- a/libs/ardour/disk_reader.cc +++ b/libs/ardour/disk_reader.cc @@ -762,8 +762,8 @@ DiskReader::seek (samplepos_t sample, bool complete_refill) return 0; } - if ((!_last_read_reversed || (_last_read_reversed != read_reversed)) || - (!_last_read_loop || (_last_read_loop != read_loop))) { + if ((!_last_read_reversed || (_last_read_reversed == read_reversed)) || + (!_last_read_loop || (_last_read_loop == read_loop))) { /* We do these things only if we're still reading in the same * direction we did last time.