From f29c96c1888692cbd35299cdfd77302b0c4ea0a8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 25 Apr 2010 14:33:42 +0000 Subject: [PATCH] Fix setting of location start position. Fixes #3090. git-svn-id: svn://localhost/ardour2/branches/3.0@6984 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/location.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/location.cc b/libs/ardour/location.cc index 155ef3667c..f855cb75cf 100644 --- a/libs/ardour/location.cc +++ b/libs/ardour/location.cc @@ -89,7 +89,7 @@ Location::set_start (nframes64_t s) return -1; } - if (((is_auto_punch() || is_auto_loop()) && s >= _end) || s > _end) { + if (((is_auto_punch() || is_auto_loop()) && s >= _end) || (!is_mark() && s > _end)) { return -1; }