gsk: Fix a typo

We were checking x_offset twice, when we meant to check
x_offset and y_offset. Pointed out by Rafał Mikrut.

Fixes: #2726
This commit is contained in:
Matthias Clasen 2020-05-09 19:40:06 -04:00
parent fc42a0696e
commit d83df5a928

View File

@ -2265,7 +2265,7 @@ render_node_print (Printer *p,
if (glyphs[i].glyph == ascii->glyphs[j].glyph &&
glyphs[i].geometry.width == ascii->glyphs[j].geometry.width &&
glyphs[i].geometry.x_offset == 0 &&
glyphs[i].geometry.x_offset == 0 &&
glyphs[i].geometry.y_offset == 0 &&
glyphs[i].attr.is_cluster_start)
{
g_string_append_c (str, j + MIN_ASCII_GLYPH);