From 0326af6f6ac9efd2e400051388c24f89216f2f35 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 12 May 2020 10:17:51 -0600 Subject: make conditional logic fully explicit --- libs/ardour/session_transport.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour') 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 -- cgit v1.2.3