diff options
author | Carl Hetherington <carl@carlh.net> | 2011-05-04 09:22:23 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-05-04 09:22:23 +0000 |
commit | f01dc1bfd5093a532a5f692549202951eaaf6818 (patch) | |
tree | b84c05e93378dd6f8c9778fee4e1b13110fdd2a5 /libs/surfaces | |
parent | ba8a593c294456e0b6e033e39d22eccd0548f7b5 (diff) |
Fix crash on startup when using BCF mode for the mackie surface.
git-svn-id: svn://localhost/ardour2/branches/3.0@9468 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces')
-rw-r--r-- | libs/surfaces/mackie/bcf_surface.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/surfaces/mackie/bcf_surface.h b/libs/surfaces/mackie/bcf_surface.h index 95bb27db01..f6a1511aea 100644 --- a/libs/surfaces/mackie/bcf_surface.h +++ b/libs/surfaces/mackie/bcf_surface.h @@ -14,9 +14,7 @@ class MackieButtonHandler; class BcfSurface : public Surface { public: - BcfSurface( uint32_t max_strips ) : Surface( max_strips ) - { - } + BcfSurface (uint32_t max_strips) : Surface (max_strips, 7) {} virtual void handle_button( MackieButtonHandler & mbh, ButtonState bs, Button & button ); virtual void init_controls(); |