Fix export w/o session-range (typo in 468731c14b9b)
authorRobin Gareus <robin@gareus.org>
Tue, 15 Oct 2019 21:17:48 +0000 (23:17 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 15 Oct 2019 21:17:48 +0000 (23:17 +0200)
libs/ardour/export_profile_manager.cc

index ff9cb075ad84096f2f6c832f7528f5e98d1238da..71e7426a26ceffbb8e7dc3f888f339c91b465ed7 100644 (file)
@@ -408,7 +408,7 @@ ExportProfileManager::init_timespans (XMLNodeList nodes)
                // Add session as default selection
                Location * session_range;
 
-               if ((session_range = session.locations()->session_range_location()) != 0) {
+               if ((session_range = session.locations()->session_range_location()) == 0) {
                        return false;
                }