summaryrefslogtreecommitdiff
path: root/pango/opentype/ftxgsub.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/opentype/ftxgsub.c')
-rw-r--r--pango/opentype/ftxgsub.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/opentype/ftxgsub.c b/pango/opentype/ftxgsub.c
index e9b5548a..e473ca95 100644
--- a/pango/opentype/ftxgsub.c
+++ b/pango/opentype/ftxgsub.c
@@ -3514,7 +3514,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++ )
@@ -3712,7 +3712,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 = ccsr.Lookahead;
@@ -3859,7 +3859,7 @@
/* we are starting for lookahead glyphs right after the last context
glyph */
- curr_pos = j;
+ curr_pos += j;
s_in = &in->string[curr_pos];
lc = ccsf3->LookaheadCoverage;