mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
temporal: fix logic bug in TempoMap::reset_starting_at()
This commit is contained in:
parent
c9b7f012e4
commit
4defa3ae8f
1 changed files with 2 additions and 2 deletions
|
|
@ -1184,8 +1184,8 @@ TempoMap::reset_starting_at (superclock_t sc)
|
|||
tp = 0;
|
||||
mp = 0;
|
||||
|
||||
if ((mtp = dynamic_cast<MusicTimePoint*> (&*p)) != 0) {
|
||||
if ((tp = dynamic_cast<TempoPoint*> (&*p)) != 0) {
|
||||
if ((mtp = dynamic_cast<MusicTimePoint*> (&*p)) == 0) {
|
||||
if ((tp = dynamic_cast<TempoPoint*> (&*p)) == 0) {
|
||||
mp = dynamic_cast<MeterPoint*> (&*p);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue