diff --git a/src/hb-ot-layout-gpos-table.hh b/src/hb-ot-layout-gpos-table.hh index 41168b2e0aa6869202fd19cd80e416ab456a933a..b99146c9409a540c56f802d3ba2b9e66b2c016f7 100644 --- a/src/hb-ot-layout-gpos-table.hh +++ b/src/hb-ot-layout-gpos-table.hh @@ -1598,20 +1598,20 @@ struct GPOS : GSUBGPOS static void fix_cursive_minor_offset (hb_glyph_position_t *pos, unsigned int i, hb_direction_t direction) { - unsigned int j = pos[i].cursive_chain(); - if (likely (!j)) - return; + unsigned int j = pos[i].cursive_chain(); + if (likely (!j)) + return; - j += i; + j += i; - pos[i].cursive_chain() = 0; + pos[i].cursive_chain() = 0; - fix_cursive_minor_offset (pos, j, direction); + fix_cursive_minor_offset (pos, j, direction); - if (HB_DIRECTION_IS_HORIZONTAL (direction)) - pos[i].y_offset += pos[j].y_offset; - else - pos[i].x_offset += pos[j].x_offset; + if (HB_DIRECTION_IS_HORIZONTAL (direction)) + pos[i].y_offset += pos[j].y_offset; + else + pos[i].x_offset += pos[j].x_offset; } static void