NO-OP: whitespace

This commit is contained in:
Robin Gareus
2021-06-01 19:37:36 +02:00
parent b339d083a8
commit 63629c0a91
2 changed files with 7 additions and 5 deletions

View File

@@ -462,10 +462,10 @@ private:
mutable boost::optional<std::pair<samplepos_t, samplepos_t> > _cached_extent;
samplepos_t _end_space; //this is used when we are pasting a range with extra space at the end
samplepos_t _end_space; // this is used when we are pasting a range with extra space at the end
bool _playlist_shift_active;
std::string _pgroup_id; /*when we make multiple playlists in one action, they will share the same pgroup_id */
std::string _pgroup_id; // when we make multiple playlists in one action, they will share the same pgroup_id
};
} /* namespace ARDOUR */

View File

@@ -1054,9 +1054,11 @@ Track::use_captured_audio_sources (SourceList& srcs, CaptureInfos const & captur
/* XXX what now? */
}
/*if this playlist doesn't already have a pgroup (a new track won't) then assign it one, using the take-id of the first recording) */
if (pl->pgroup_id().length()==0) {
pl->set_pgroup_id(afs->take_id());
/* If this playlist doesn't already have a pgroup (a new track won't) then
* assign it one, using the take-id of the first recording)
*/
if (pl->pgroup_id().length() == 0) {
pl->set_pgroup_id (afs->take_id ());
}
pl->clear_changes ();