summaryrefslogtreecommitdiff
path: root/libs/ardour/location.cc
diff options
context:
space:
mode:
authorColin Fletcher <colin.m.fletcher@googlemail.com>2014-07-29 16:33:39 +0100
committerColin Fletcher <colin.m.fletcher@googlemail.com>2014-09-13 15:27:30 +0100
commit6549fcbd86bc9ecbae8b5883ad4be4acff9f6807 (patch)
tree91e5f0037a2a1a1eba8821c962e6dff99dabe904 /libs/ardour/location.cc
parent982b95fb474d44f9fd1b9c9ece819c8e6663d334 (diff)
Fix spurious 'You cannot put a CD marker at this location' error
Fix the spurious error that occurs when loading a session where any marker (not necessarily a CD marker) is located at 0 on the timeline.
Diffstat (limited to 'libs/ardour/location.cc')
-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 eef94797e9..3fcbbd600b 100644
--- a/libs/ardour/location.cc
+++ b/libs/ardour/location.cc
@@ -340,7 +340,7 @@ Location::set_cd (bool yn, void *src)
// XXX this really needs to be session start
// but its not available here - leave to GUI
- if (_start == 0) {
+ if (yn && _start == 0) {
error << _("You cannot put a CD marker at this position") << endmsg;
return;
}