[pango/harfbuzz-ng] [HB] Use four bytes for Null Tag, not 5



commit e2b95c6d00c5e7b2ad0c486ae3d3a7295a4109c7
Author: Behdad Esfahbod <behdad behdad org>
Date:   Sun May 17 19:31:18 2009 -0400

    [HB] Use four bytes for Null Tag, not 5
---
 pango/opentype/hb-ot-layout-open-private.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/pango/opentype/hb-ot-layout-open-private.h b/pango/opentype/hb-ot-layout-open-private.h
index 3c08130..643b861 100644
--- a/pango/opentype/hb-ot-layout-open-private.h
+++ b/pango/opentype/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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]