summaryrefslogtreecommitdiff
path: root/pango/opentype/ftxgpos.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/opentype/ftxgpos.c')
-rw-r--r--pango/opentype/ftxgpos.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/opentype/ftxgpos.c b/pango/opentype/ftxgpos.c
index 7a17e1cc..f3ce13cd 100644
--- a/pango/opentype/ftxgpos.c
+++ b/pango/opentype/ftxgpos.c
@@ -5323,7 +5323,7 @@
/* we are starting to check for lookahead glyphs right after the
last context glyph */
- curr_pos = j;
+ curr_pos += j;
s_in = &in->string[curr_pos];
for ( i = 0, j = 0; i < lgc; i++, j++ )
@@ -5521,7 +5521,7 @@
/* we are starting to check for lookahead glyphs right after the
last context glyph */
- curr_pos = j;
+ curr_pos += j;
s_in = &in->string[curr_pos];
lc = cpcr.Lookahead;
@@ -5669,7 +5669,7 @@
/* we are starting to check for lookahead glyphs right after the
last context glyph */
- curr_pos = j;
+ curr_pos += j;
s_in = &in->string[curr_pos];
lc = ccpf3->LookaheadCoverage;