summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
Diffstat (limited to 'pango')
-rw-r--r--pango/opentype/harfbuzz-gpos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/opentype/harfbuzz-gpos.c b/pango/opentype/harfbuzz-gpos.c
index 52fb4cd2..2a9cbf68 100644
--- a/pango/opentype/harfbuzz-gpos.c
+++ b/pango/opentype/harfbuzz-gpos.c
@@ -5962,7 +5962,7 @@ static HB_Error Position_CursiveChain ( HB_Buffer buffer )
HB_Position positions = buffer->positions;
/* First handle all left-to-right connections */
- for (j = 0; j < buffer->in_length; j--)
+ for (j = 0; j < buffer->in_length; j++)
{
if (positions[j].cursive_chain > 0)
positions[j].y_pos += positions[j - positions[j].cursive_chain].y_pos;