[gtk/matthiasc/for-master] gsk: Fix a typo
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] gsk: Fix a typo
- Date: Sat, 9 May 2020 23:43:30 +0000 (UTC)
commit d83df5a928ac8710e0e159bc8b07a72ee6a1e26b
Author: Matthias Clasen <mclasen redhat com>
Date: Sat May 9 19:40:06 2020 -0400
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
gsk/gskrendernodeparser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gskrendernodeparser.c b/gsk/gskrendernodeparser.c
index fcacb8b888..822eb5c405 100644
--- a/gsk/gskrendernodeparser.c
+++ b/gsk/gskrendernodeparser.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]