fix typo/thinko in code that checks for result of waiting for butler transport work
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user