fix typo/thinko in code that checks for result of waiting for butler transport work

This commit is contained in:
Paul Davis 2020-04-10 13:24:55 -06:00
parent 247bd4d3d9
commit b953490bac

View file

@ -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;
}