summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 dbff4c0838..3c7d580af6 100644
--- a/libs/ardour/session_transport.cc
+++ b/libs/ardour/session_transport.cc
@@ -1167,7 +1167,7 @@ Session::locate (framepos_t target_frame, bool with_roll, bool with_flush, bool
Location* al = _locations->auto_loop_location();
if (al) {
- if (_transport_frame < al->start() || _transport_frame > al->end()) {
+ if (_transport_frame < al->start() || _transport_frame >= al->end()) {
// located outside the loop: cancel looping directly, this is called from event handling context