summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-05-12 10:17:51 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-05-12 11:34:37 -0600
commit0326af6f6ac9efd2e400051388c24f89216f2f35 (patch)
treee7f3a29cd6f006001c2fe0f1ee4339830f1333b9 /libs/ardour
parent98d56d6b21e9616b873a90d27dfbe9e7e52fa1de (diff)
make conditional logic fully explicit
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/session_transport.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc
index 61d7ecc3cc..04b3a3e960 100644
--- a/libs/ardour/session_transport.cc
+++ b/libs/ardour/session_transport.cc
@@ -186,7 +186,7 @@ Session::locate (samplepos_t target_sample, bool with_roll, bool with_flush, boo
DEBUG_TRACE (DEBUG::Transport, string_compose ("rt-locate to %1 ts = %7, roll %2 flush %3 for loop end %4 force %5 mmc %6\n",
target_sample, with_roll, with_flush, for_loop_end, force, with_mmc, _transport_sample));
- if (!force && _transport_sample == target_sample && !loop_changing && !for_loop_end) {
+ if (!force && (_transport_sample == target_sample) && !loop_changing && !for_loop_end) {
/* already at the desired position. Not forced to locate,
the loop isn't changing, so unless we're told to