projects
/
framework
/
uifw
/
harfbuzz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19fc24f
)
[HB] Use four bytes for Null Tag, not 5
author
Behdad Esfahbod
<behdad@behdad.org>
Sun, 17 May 2009 23:31:18 +0000
(19:31 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 2 Nov 2009 19:40:10 +0000
(14:40 -0500)
src/hb-ot-layout-open-private.h
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-open-private.h
b/src/hb-ot-layout-open-private.h
index
691f392
..
4ae7a89
100644
(file)
--- 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);