Simplify default durations

This commit is contained in:
Matthias Neeracher 2007-09-06 00:41:40 +00:00
parent 7d8a579907
commit 103204fce4
2 changed files with 2 additions and 1 deletions

View File

@ -547,6 +547,7 @@ VLSong::VLSong(bool initialize)
void VLSong::AddMeasure() void VLSong::AddMeasure()
{ {
VLFraction dur = fProperties.front().fTime; VLFraction dur = fProperties.front().fTime;
dur.Normalize();
VLLyricsNote rest(dur); VLLyricsNote rest(dur);
VLChord rchord(dur); VLChord rchord(dur);
VLMeasure meas; VLMeasure meas;

View File

@ -33,7 +33,7 @@ struct VLFraction : VLFract {
VLFraction & operator*=(VLFraction other); VLFraction & operator*=(VLFraction other);
VLFraction & operator/=(VLFraction other); VLFraction & operator/=(VLFraction other);
VLFraction & operator%=(VLFraction other); VLFraction & operator%=(VLFraction other);
private:
VLFraction & Normalize(); VLFraction & Normalize();
}; };