From 34745acfde0f3e88a1151f6ac69fe18ec1fc33e7 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Sat, 29 Mar 2008 20:45:25 +0000 Subject: [PATCH] Show empty word when clicking in gaps --- Sources/VLModel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/VLModel.cpp b/Sources/VLModel.cpp index 9762516..6895d74 100644 --- a/Sources/VLModel.cpp +++ b/Sources/VLModel.cpp @@ -1353,7 +1353,8 @@ std::string VLSong::GetWord(size_t stanza, size_t measure, VLFraction at) word += note->fLyrics[stanza-1].fText; if (!(note->fLyrics[stanza-1].fKind & VLSyllable::kHasNext)) return word; - } + } else + return ""; } now += note->fDuration; ++note;