13
0

Fix crash on saving session template (#3634).

git-svn-id: svn://localhost/ardour2/branches/3.0@8375 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-12-29 22:36:03 +00:00
parent fcd0a44744
commit c76912db2c

View File

@ -4065,8 +4065,12 @@ Session::start_time_changed (framepos_t old)
/* Update the auto loop range to match the session range
(unless the auto loop range has been changed by the user)
*/
Location* s = _locations->session_range_location ();
if (s == 0) {
return;
}
Location* l = _locations->auto_loop_location ();
if (l->start() == old) {
@ -4082,6 +4086,10 @@ Session::end_time_changed (framepos_t old)
*/
Location* s = _locations->session_range_location ();
if (s == 0) {
return;
}
Location* l = _locations->auto_loop_location ();
if (l->end() == old) {