13
0

Fix crash when moving end marker after deleting loop range (#4357).

git-svn-id: svn://localhost/ardour2/branches/3.0@10196 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2011-10-07 19:49:21 +00:00
parent 18e9540ea3
commit 4383cce993

View File

@ -4199,7 +4199,7 @@ Session::end_time_changed (framepos_t old)
Location* l = _locations->auto_loop_location ();
if (l->end() == old) {
if (l && l->end() == old) {
l->set_end (s->end(), true);
}
}