use else if
This commit is contained in:
parent
86e5f9305b
commit
d9c81d46fd
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ static void shape_text(text_line & line,
|
|||
{
|
||||
c.push_back({face, glyphs[i], positions[i]});
|
||||
}
|
||||
if (c.front().glyph.codepoint == 0)
|
||||
else if (c.front().glyph.codepoint == 0)
|
||||
{
|
||||
c.front() = { face, glyphs[i], positions[i] };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue