]> git.donarmstrong.com Git - lilypond.git/commit
fix 750: No warning for non-found voice in lyrics combine when lyrics are empty
authorReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 16 Nov 2009 17:57:26 +0000 (18:57 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 12 Jul 2011 17:13:51 +0000 (19:13 +0200)
commit10267f06f910f763196b391bd2bc664db7a78e0a
tree8caf1b480754d1b244340122118994ba215d0db0
parent8c0b8e9a289159b37b67dfaf1075499a47785b78
fix 750: No warning for non-found voice in lyrics combine when lyrics are empty

Use a bool flag to store whether the Lyrics context was ever really created
(i.e. one moment was processed). If that's not the case, then the lyrics
are empty, and we shouldn't print any warning about non-existing voices
(since we never even tried to find an appropriate voice; and we also don't
need one anyway).

Fixes isse 750 (http://code.google.com/p/lilypond/issues/detail?id=750)
input/regression/lyric-combine-empty-warning.ly [new file with mode: 0644]
lily/lyric-combine-music-iterator.cc