fix test logic
This commit is contained in:
parent
302e4c75dd
commit
e55918788c
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ static void shape_text(text_line & line,
|
||||||
for (auto c : clusters)
|
for (auto c : clusters)
|
||||||
{
|
{
|
||||||
auto itr = glyphinfos.find(c);
|
auto itr = glyphinfos.find(c);
|
||||||
if (itr == glyphinfos.end() || (!itr->second.empty() && itr->second.front().glyph.codepoint == 0))
|
if (itr == glyphinfos.end() || itr->second.empty() || (itr->second.front().glyph.codepoint == 0))
|
||||||
{
|
{
|
||||||
all_set = false;
|
all_set = false;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue