Show empty word when clicking in gaps

This commit is contained in:
Matthias Neeracher 2008-03-29 20:45:25 +00:00
parent 0f5f843ed0
commit 34745acfde

View File

@ -1353,7 +1353,8 @@ std::string VLSong::GetWord(size_t stanza, size_t measure, VLFraction at)
word += note->fLyrics[stanza-1].fText; word += note->fLyrics[stanza-1].fText;
if (!(note->fLyrics[stanza-1].fKind & VLSyllable::kHasNext)) if (!(note->fLyrics[stanza-1].fKind & VLSyllable::kHasNext))
return word; return word;
} } else
return "";
} }
now += note->fDuration; now += note->fDuration;
++note; ++note;