Skip empty lines in the kanji timer

This commit is contained in:
Thomas Goyne 2013-09-16 09:43:57 -07:00
parent 98048c135a
commit bb89378b7f

View file

@ -678,7 +678,7 @@ static AssEntry *find_next(Iterator from, Iterator to, std::string const& style_
for (; from != to; ++from)
{
AssDialogue *dlg = dynamic_cast<AssDialogue*>(&*from);
if (dlg && dlg->Style == style_name)
if (dlg && dlg->Style == style_name && !dlg->Text.get().empty())
return dlg;
}