]> 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)
committerCarl Sorensen <c_sorensen@byu.edu>
Wed, 13 Jul 2011 18:45:56 +0000 (12:45 -0600)
commit34b1e6837657a19eed6570e8d3a78dee86fb1c24
treefd217197dfe9e053a130fb797367559252c316c2
parentebdea7566554c26f752de6c2bef25df47ec3ee42
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)

Update regtest version for backport
input/regression/lyric-combine-empty-warning.ly [new file with mode: 0644]
lily/lyric-combine-music-iterator.cc