diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-23 19:20:35 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-23 19:20:35 +0200 |
commit | 05ddcdc004b25ad93c2376875daff0359ec6d7bb (patch) | |
tree | 03f6af33dd0e272200062fc740550b047d59aa62 /gtk2_ardour | |
parent | 1508838bde4a6aa122dadcfe66b6e508d1cf1278 (diff) |
Initialize some uninitialized variables
Editor::redisplay_tempo() is called early on, before
Editor::set_timecode_ruler_scale() and Editor::compute_bbt_ruler_scale ()
are called. That is a bug which needs fixing (initial tempo+grid display)
. Still, uninitialized vars are not good.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 8fc9257fc5..27b0d1b08c 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -302,9 +302,11 @@ Editor::Editor () , minsec_mark_interval (0) , minsec_mark_modulo (0) , minsec_nmarks (0) + , timecode_ruler_scale (timecode_show_many_hours) , timecode_mark_modulo (0) , timecode_nmarks (0) , _samples_ruler_interval (0) + , bbt_ruler_scale (bbt_show_many) , bbt_bars (0) , bbt_nmarks (0) , bbt_bar_helper_on (0) |