Fix completely wrong results from the Kanji timer

Durations were being set in milliseconds rather than centiseconds.

Originally committed to SVN as r6610.
This commit is contained in:
Thomas Goyne 2012-03-27 00:48:56 +00:00
parent 232bae36e7
commit 7f427e01df

View file

@ -381,7 +381,7 @@ wxString KaraokeLineMatchDisplay::GetOutputLine() const
{
duration += match.src[j].duration;
}
res = wxString::Format("%s{\\k%d}%s", res, duration, match.dst);
res = wxString::Format("%s{\\k%d}%s", res, duration / 10, match.dst);
}
return res;