Fix setting of location start position. Fixes #3090.
authorCarl Hetherington <carl@carlh.net>
Sun, 25 Apr 2010 14:33:42 +0000 (14:33 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 25 Apr 2010 14:33:42 +0000 (14:33 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6984 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/location.cc

index 155ef3667cca35af0e2e6fd0426c69ab12ee8141..f855cb75cffff6c67248eaf0befb18d3461b714d 100644 (file)
@@ -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;
        }