From 923a8f520addba095384b975ba8934e5a18fb696 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 29 Oct 2017 15:00:54 -0600 Subject: [PATCH] Fix up 5de83fab947e23cc729d69f8d44a28311298af9d --- src/hb-ot-post-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-post-table.hh b/src/hb-ot-post-table.hh index 4213093b9..273a6d027 100644 --- a/src/hb-ot-post-table.hh +++ b/src/hb-ot-post-table.hh @@ -96,7 +96,7 @@ struct post pool = &StructAfter (v2.glyphNameIndex); const uint8_t *end = (uint8_t *) table + post_len; - for (const uint8_t *data = pool; data < end && data + *data <= end; data += *data) + for (const uint8_t *data = pool; data < end && data + *data <= end; data += 1 + *data) { uint32_t *offset = index_to_offset.push (); if (unlikely (!offset))