From 6163f3ae32feaf7d12c668ce9217545c311e73d6 Mon Sep 17 00:00:00 2001
From: Alwinfy <20421383+Alwinfy@users.noreply.github.com>
Date: Sun, 27 Oct 2024 00:47:15 -0400
Subject: [PATCH] Fix bug in Beat Time mode with going past the first position
 marker

---
 gtk2_ardour/editor_ops.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index cdd7aee464..f251f6b408 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -2561,7 +2561,7 @@ Editor::jump_backward_to_mark_flagged (Location::Flags whitelist, Location::Flag
 		}
 	}
 
-	if (pos == timepos_t::max (Temporal::AudioTime)) {
+	if (pos == timepos_t::max (pos.time_domain())) {
 		return;
 	}
 
-- 
2.34.1

