summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-04-25 14:33:42 +0000
committerCarl Hetherington <carl@carlh.net>2010-04-25 14:33:42 +0000
commitf29c96c1888692cbd35299cdfd77302b0c4ea0a8 (patch)
treeff1bb76159f5096150b5d4b01c17d32226504f78 /libs
parent64a7e9b0a932999b52b3c8e54318be84f64863b9 (diff)
Fix setting of location start position. Fixes #3090.
git-svn-id: svn://localhost/ardour2/branches/3.0@6984 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/location.cc2
1 files changed, 1 insertions, 1 deletions
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;
}