Fix duplication of source syllables when linking in the kanji timer
Originally committed to SVN as r6522.
This commit is contained in:
parent
0d703cff69
commit
24fbf25882
1 changed files with 1 additions and 0 deletions
|
@ -593,6 +593,7 @@ bool KaraokeLineMatchDisplay::AcceptMatch()
|
|||
|
||||
assert(source_sel_length <= unmatched_source.size());
|
||||
copy(unmatched_source.begin(), unmatched_source.begin() + source_sel_length, back_inserter(match.src));
|
||||
unmatched_source.erase(unmatched_source.begin(), unmatched_source.begin() + source_sel_length);
|
||||
source_sel_length = 0;
|
||||
|
||||
assert(destination_sel_length <= unmatched_destination.size());
|
||||
|
|
Loading…
Reference in a new issue