diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-10 13:24:55 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-10 13:24:55 -0600 |
commit | b953490bacbba130911daa04084b0bbfc3dc03d9 (patch) | |
tree | 8b422ef41eea8f25266c3aa12c95314ff75444c2 /libs | |
parent | 247bd4d3d95230e7887d577d3bbdab8feb519b4d (diff) |
fix typo/thinko in code that checks for result of waiting for butler transport work
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session_export.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_export.cc b/libs/ardour/session_export.cc index cb74b8cfe6..ab504a0039 100644 --- a/libs/ardour/session_export.cc +++ b/libs/ardour/session_export.cc @@ -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; } |