mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
fix typo/thinko in code that checks for result of waiting for butler transport work
This commit is contained in:
parent
247bd4d3d9
commit
b953490bac
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ Session::start_audio_export (samplepos_t position, bool realtime, bool region_ex
|
|||
_butler->schedule_transport_work ();
|
||||
} while (0 != post_transport_work () && --timeout > 0);
|
||||
|
||||
if (timeout != 0) {
|
||||
if (timeout == 0) {
|
||||
error << _("Cannot prepare transport for export") << endmsg;
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue