src/hb-buffer-serialize.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 62299826f4905e080b9497bce335e093b287494e
Author: Behdad Esfahbod <[email protected]>
Date:   Thu Jan 23 14:11:03 2014 -0500

    Fix typo in _hb_buffer_serialize_glyphs_text()
    
    Fixes https://github.com/behdad/harfbuzz/pull/17

diff --git a/src/hb-buffer-serialize.cc b/src/hb-buffer-serialize.cc
index 4541db2..263bc81 100644
--- a/src/hb-buffer-serialize.cc
+++ b/src/hb-buffer-serialize.cc
@@ -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));
     }
 
_______________________________________________
HarfBuzz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to