diff options
author | David Robillard <d@drobilla.net> | 2010-11-25 20:37:39 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-11-25 20:37:39 +0000 |
commit | 8b68ed57ec5c075261639435be3290c3ba8177eb (patch) | |
tree | 309cfbdec064a3134678facbfec835aaa46f2cef /gtk2_ardour/audio_clock.cc | |
parent | c862d320ffccf739785e4b9aa59d7842e6f50ace (diff) |
Fix some messed up code (spacey tabs).
(There is faar more of this... FIX YOUR EDITORS!)
git-svn-id: svn://localhost/ardour2/branches/3.0@8086 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_clock.cc')
-rw-r--r-- | gtk2_ardour/audio_clock.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc index 3916830eae..d80e7e5b30 100644 --- a/gtk2_ardour/audio_clock.cc +++ b/gtk2_ardour/audio_clock.cc @@ -1203,7 +1203,7 @@ AudioClock::field_button_press_event (GdkEventButton *ev, Field /*field*/) ValueChanged (); /* EMIT_SIGNAL */ } - /* make absolutely sure that the pointer is grabbed */ + /* make absolutely sure that the pointer is grabbed */ gdk_pointer_grab(ev->window,false , GdkEventMask( Gdk::POINTER_MOTION_MASK | Gdk::BUTTON_PRESS_MASK |Gdk::BUTTON_RELEASE_MASK), NULL,NULL,ev->time); @@ -1910,10 +1910,10 @@ AudioClock::bbt_frame_from_display (nframes_t pos) const any.bbt.beats = atoi (beats_label.get_text()); any.bbt.ticks = atoi (ticks_label.get_text()); - if (is_duration) { - any.bbt.bars++; - any.bbt.beats++; - } + if (is_duration) { + any.bbt.bars++; + any.bbt.beats++; + } nframes_t ret = _session->convert_to_frames_at (pos, any); @@ -2131,10 +2131,10 @@ AudioClock::on_style_changed (const Glib::RefPtr<Gtk::Style>& old_style) void AudioClock::set_is_duration (bool yn) { - if (yn == is_duration) { - return; - } + if (yn == is_duration) { + return; + } - is_duration = yn; - set (last_when, true, 0, 's'); + is_duration = yn; + set (last_when, true, 0, 's'); } |