From 5d057e2673b75417a187d75f09023f6071a81e3e Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Fri, 2 Apr 2004 00:01:51 +0000 Subject: [PATCH] * lily/slur-performer.cc (Slur_performer): add inits * lily/beam-performer.cc (Beam_performer): add inits --- ChangeLog | 6 ++++++ input/screech-boink.ly | 2 +- lily/beam-performer.cc | 11 +++++++---- lily/slur-performer.cc | 12 ++++++++---- 4 files changed, 22 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index f57c343f32..4f3c962984 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-04-02 Han-Wen Nienhuys + + * lily/slur-performer.cc (Slur_performer): add inits + + * lily/beam-performer.cc (Beam_performer): add inits + 2004-04-01 Han-Wen Nienhuys * VERSION (PACKAGE_NAME): release 2.2.0 diff --git a/input/screech-boink.ly b/input/screech-boink.ly index 9102972f10..31cbad7b7f 100644 --- a/input/screech-boink.ly +++ b/input/screech-boink.ly @@ -51,6 +51,7 @@ >> } >> + \midi { \tempo 8 = 60 } \paper { raggedright = ##t @@ -61,5 +62,4 @@ } } - \midi { \tempo 8 = 60 } } diff --git a/lily/beam-performer.cc b/lily/beam-performer.cc index b5b694a04b..868397641f 100644 --- a/lily/beam-performer.cc +++ b/lily/beam-performer.cc @@ -28,6 +28,13 @@ private: bool beam_; }; +Beam_performer::Beam_performer () +{ + beam_ = false; + start_ev_ = 0; + now_stop_ev_ = 0; +} + void Beam_performer::process_music () { @@ -83,7 +90,3 @@ Beam_performer::try_music (Music *m) ENTER_DESCRIPTION (Beam_performer,"","", "beam-event","","",""); -Beam_performer::Beam_performer () -{ - beam_ = false; -} diff --git a/lily/slur-performer.cc b/lily/slur-performer.cc index 020160708c..17c0a2dc2e 100644 --- a/lily/slur-performer.cc +++ b/lily/slur-performer.cc @@ -32,6 +32,14 @@ private: bool slur_; }; +Slur_performer::Slur_performer () +{ + slur_ = false; + start_ev_ = 0; + now_stop_ev_ = 0; +} + + void Slur_performer::process_music () { @@ -85,7 +93,3 @@ Slur_performer::try_music (Music *m) ENTER_DESCRIPTION (Slur_performer,"","", "slur-event","","",""); -Slur_performer::Slur_performer () -{ - slur_ = false; -} -- 2.39.5