From 595d2b96c37de8147489dc5e0ddcc4ab1ad3eea9 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 26 Jul 2014 18:44:15 -0400 Subject: [PATCH] Minor --- src/hb-ot-shape-complex-indic.cc | 1 + src/hb-ot-shape.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index be5d574bf..772360041 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 1f99014c6..66846ed34 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);