From da1097bc3b1995776c205707fd2b17603b804646 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 17 May 2009 19:31:18 -0400 Subject: [PATCH] [HB] Use four bytes for Null Tag, not 5 --- src/hb-ot-layout-open-private.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hb-ot-layout-open-private.h b/src/hb-ot-layout-open-private.h index 691f392..4ae7a89 100644 --- a/src/hb-ot-layout-open-private.h +++ b/src/hb-ot-layout-open-private.h @@ -313,7 +313,9 @@ struct Tag { char v[4]; }; ASSERT_SIZE (Tag, 4); -DEFINE_NULL_DATA (Tag, 5, " "); +#define _NULL_TAG_INIT {' ', ' ', ' ', ' '} +DEFINE_NULL_DATA (Tag, 4, _NULL_TAG_INIT); +#undef _NULL_TAG_INIT /* Glyph index number, same as uint16 (length = 16 bits) */ DEFINE_INT_TYPE_STRUCT (GlyphID, u, 16); -- 2.7.4