summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2014-07-26 18:44:15 -0400
committerBehdad Esfahbod <behdad@behdad.org>2014-07-26 18:44:15 -0400
commit595d2b96c37de8147489dc5e0ddcc4ab1ad3eea9 (patch)
tree1e6528b02ba87062cd37b2ee0d1bf78e555b1730
parentfe6788bc570d77d5b3aafc68efd51ca6b80499b1 (diff)
Minor
-rw-r--r--src/hb-ot-shape-complex-indic.cc1
-rw-r--r--src/hb-ot-shape.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc
index be5d574b..77236004 100644
--- a/src/hb-ot-shape-complex-indic.cc
+++ b/src/hb-ot-shape-complex-indic.cc
@@ -1285,6 +1285,7 @@ insert_dotted_circles (const hb_ot_shape_plan_t *plan HB_UNUSED,
info.cluster = buffer->cur().cluster;
info.mask = buffer->cur().mask;
info.syllable() = buffer->cur().syllable();
+ /* TODO Set glyph_props? */
/* Insert dottedcircle after possible Repha. */
while (buffer->idx < buffer->len &&
diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc
index 1f99014c..66846ed3 100644
--- a/src/hb-ot-shape.cc
+++ b/src/hb-ot-shape.cc
@@ -243,7 +243,7 @@ hb_insert_dotted_circle (hb_buffer_t *buffer, hb_font_t *font)
if (!font->has_glyph (0x25CCu))
return;
- hb_glyph_info_t dottedcircle;
+ hb_glyph_info_t dottedcircle = {0};
dottedcircle.codepoint = 0x25CCu;
_hb_glyph_info_set_unicode_props (&dottedcircle, buffer->unicode);