[GPOS] Add harmless recursion in fix_mark_attachment()
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 11 Feb 2016 08:28:55 +0000 (15:28 +0700)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 11 Feb 2016 08:28:55 +0000 (15:28 +0700)
Will do nothing.  Just useful for merging two functions.

src/hb-ot-layout-gpos-table.hh

index b349524..038a5c6 100644 (file)
@@ -1579,6 +1579,8 @@ fix_mark_attachment (hb_glyph_position_t *pos, unsigned int i, hb_direction_t di
 
   unsigned int j = (int) i + chain;
 
+  fix_mark_attachment (pos, j, direction);
+
 
   pos[i].x_offset += pos[j].x_offset;
   pos[i].y_offset += pos[j].y_offset;