summaryrefslogtreecommitdiff
path: root/gtk2_ardour/note_base.cc
diff options
context:
space:
mode:
authorNil Geisweiller <ngeiswei@gmail.com>2015-11-29 13:57:04 +0200
committerRobin Gareus <robin@gareus.org>2015-12-22 04:52:50 +0100
commit591c9bf0d48643437ee74de99f9a9ae9d8d5a75b (patch)
tree77cbd283da4c716ab25d5d130b13b4879c2ac8ec /gtk2_ardour/note_base.cc
parentdffa3861baeb837c41d0c3090923d28089c3e981 (diff)
Fix indentation of note_base (whitespace to tab)
Diffstat (limited to 'gtk2_ardour/note_base.cc')
-rw-r--r--gtk2_ardour/note_base.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk2_ardour/note_base.cc b/gtk2_ardour/note_base.cc
index feee7e7d7c..9c47fa7b18 100644
--- a/gtk2_ardour/note_base.cc
+++ b/gtk2_ardour/note_base.cc
@@ -238,14 +238,14 @@ NoteBase::set_mouse_fractions (GdkEvent* ev)
_mouse_y_fraction = yf;
if (notify) {
- if (big_enough_to_trim()) {
- _region.note_mouse_position (_mouse_x_fraction, _mouse_y_fraction, set_cursor);
- } else {
- /* pretend the mouse is in the middle, because this is not big enough
- to trim right now.
- */
- _region.note_mouse_position (0.5, 0.5, set_cursor);
- }
+ if (big_enough_to_trim()) {
+ _region.note_mouse_position (_mouse_x_fraction, _mouse_y_fraction, set_cursor);
+ } else {
+ /* pretend the mouse is in the middle, because this is not big enough
+ to trim right now.
+ */
+ _region.note_mouse_position (0.5, 0.5, set_cursor);
+ }
}
}