Fix typo in _hb_buffer_serialize_glyphs_text()

Fixes https://github.com/behdad/harfbuzz/pull/17
pull/19/head
Behdad Esfahbod 11 years ago
parent ae23c24c32
commit 62299826f4
  1. 2
      src/hb-buffer-serialize.cc

@ -204,7 +204,7 @@ _hb_buffer_serialize_glyphs_text (hb_buffer_t *buffer,
*p++ = '+'; *p++ = '+';
p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%d", pos[i].x_advance)); p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%d", pos[i].x_advance));
if (pos->y_advance) if (pos[i].y_advance)
p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",%d", pos[i].y_advance)); p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",%d", pos[i].y_advance));
} }

Loading…
Cancel
Save