summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_selection.cc
diff options
context:
space:
mode:
authorThomas Brand <tom@trellis.ch>2017-07-01 18:42:24 +0200
committerRobin Gareus <robin@gareus.org>2017-07-01 19:28:26 +0200
commit63ea7b6516dbd7554d1eff6c98de50cf61fc9a72 (patch)
tree82fa339e009bc082dd8023916990800bea437081 /gtk2_ardour/region_selection.cc
parentf413b83cb9fa50954969a3d849999e1890ce6690 (diff)
NO-OP whitespace (updated GH PR #357)
Diffstat (limited to 'gtk2_ardour/region_selection.cc')
-rw-r--r--gtk2_ardour/region_selection.cc34
1 files changed, 17 insertions, 17 deletions
diff --git a/gtk2_ardour/region_selection.cc b/gtk2_ardour/region_selection.cc
index 2679cc9381..c0f3f60e3f 100644
--- a/gtk2_ardour/region_selection.cc
+++ b/gtk2_ardour/region_selection.cc
@@ -106,12 +106,12 @@ bool
RegionSelection::add (RegionView* rv)
{
if (!rv->region()->playlist()) {
- /* not attached to a playlist - selection not allowed.
- This happens if the user tries to select a region
- during a capture pass.
- */
- return false;
- }
+ /* not attached to a playlist - selection not allowed.
+ This happens if the user tries to select a region
+ during a capture pass.
+ */
+ return false;
+ }
if (contains (rv)) {
/* we already have it */
@@ -180,9 +180,9 @@ RegionSelection::add_to_layer (RegionView * rv)
}
struct RegionSortByTime {
- bool operator() (const RegionView* a, const RegionView* b) const {
- return a->region()->position() < b->region()->position();
- }
+ bool operator() (const RegionView* a, const RegionView* b) const {
+ return a->region()->position() < b->region()->position();
+ }
};
@@ -205,16 +205,16 @@ RegionSelection::by_position (list<RegionView*>& foo) const
}
struct RegionSortByTrack {
- bool operator() (const RegionView* a, const RegionView* b) const {
+ bool operator() (const RegionView* a, const RegionView* b) const {
- /* really, track and position */
+ /* really, track and position */
- if (a->get_time_axis_view().order() == b->get_time_axis_view().order()) {
- return a->region()->position() < b->region()->position();
- } else {
- return a->get_time_axis_view().order() < b->get_time_axis_view().order();
- }
- }
+ if (a->get_time_axis_view().order() == b->get_time_axis_view().order()) {
+ return a->region()->position() < b->region()->position();
+ } else {
+ return a->get_time_axis_view().order() < b->get_time_axis_view().order();
+ }
+ }
};