summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_view.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-04-13 17:48:27 +0200
committerRobin Gareus <robin@gareus.org>2019-04-13 17:57:46 +0200
commit31815b5f268fa0233cd25b7ff2c8a246c12c20d1 (patch)
treecd80e3a8335ba5c27ac0709e2f12ffd4057cf71e /gtk2_ardour/region_view.cc
parent90a7bef656d9cf76825db3c30c489b93cf9c8894 (diff)
NO-OP: whitespace
This fixes mostly <tab> after <space> and similar <tab> not used for indenting as well as some related code alignment issues.
Diffstat (limited to 'gtk2_ardour/region_view.cc')
-rw-r--r--gtk2_ardour/region_view.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/region_view.cc b/gtk2_ardour/region_view.cc
index 945abc0124..467cacf8b6 100644
--- a/gtk2_ardour/region_view.cc
+++ b/gtk2_ardour/region_view.cc
@@ -414,11 +414,11 @@ RegionView::region_resized (const PropertyChange& what_changed)
unit_length = _region->length() / samples_per_pixel;
- for (vector<GhostRegion*>::iterator i = ghosts.begin(); i != ghosts.end(); ++i) {
+ for (vector<GhostRegion*>::iterator i = ghosts.begin(); i != ghosts.end(); ++i) {
- (*i)->set_duration (unit_length);
+ (*i)->set_duration (unit_length);
- }
+ }
}
}
@@ -865,7 +865,7 @@ RegionView::trim_front (samplepos_t new_bound, bool no_overlap, const int32_t su
}
/* Only trim region on the left if the first sample has gone beyond the left region's last sample. */
- if (region_left != 0 && (region_left->last_sample() > _region->first_sample() || regions_touching)) {
+ if (region_left != 0 && (region_left->last_sample() > _region->first_sample() || regions_touching)) {
region_left->trim_end (_region->first_sample() - 1);
}
}