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.
This commit is contained in:
parent
1508838bde
commit
05ddcdc004
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user