projects
/
profile
/
ivi
/
org.tizen.video-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd2ffd2
)
More removal of lig-id code from buffer
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 27 Oct 2010 21:01:03 +0000
(17:01 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Tue, 2 Nov 2010 23:12:58 +0000
(19:12 -0400)
src/hb-buffer.cc
patch
|
blob
|
history
diff --git
a/src/hb-buffer.cc
b/src/hb-buffer.cc
index
7bdee9f
..
a75b8e9
100644
(file)
--- a/
src/hb-buffer.cc
+++ b/
src/hb-buffer.cc
@@
-248,11
+248,11
@@
hb_buffer_add_glyph (hb_buffer_t *buffer,
if (unlikely (!_hb_buffer_ensure (buffer, buffer->len + 1))) return;
glyph = &buffer->info[buffer->len];
+
+ memset (glyph, 0, sizeof (*glyph));
glyph->codepoint = codepoint;
glyph->mask = mask;
glyph->cluster = cluster;
- glyph->component() = 0;
- glyph->lig_id() = 0;
glyph->gproperty() = HB_BUFFER_GLYPH_PROPERTIES_UNKNOWN;
buffer->len++;