mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Fix oops in previous commit.
Professionalism is overrated.
This commit is contained in:
parent
0c3f4bd995
commit
ec6626f06a
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ SMF::seek_to_start() const
|
||||||
{
|
{
|
||||||
Glib::Threads::Mutex::Lock lm (_smf_lock);
|
Glib::Threads::Mutex::Lock lm (_smf_lock);
|
||||||
if (_smf_track) {
|
if (_smf_track) {
|
||||||
_smf_track->next_event_number = std::min(_smf_track->number_of_events, 1);
|
_smf_track->next_event_number = std::min(_smf_track->number_of_events, (size_t)1);
|
||||||
} else {
|
} else {
|
||||||
cerr << "WARNING: SMF seek_to_start() with no track" << endl;
|
cerr << "WARNING: SMF seek_to_start() with no track" << endl;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue