Fix typo in _hb_buffer_serialize_glyphs_text()

Fixes https://github.com/behdad/harfbuzz/pull/17
This commit is contained in:
Behdad Esfahbod 2014-01-23 14:11:03 -05:00
parent ae23c24c32
commit 62299826f4
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ _hb_buffer_serialize_glyphs_text (hb_buffer_t *buffer,
*p++ = '+';
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));
}