Finish off previous change
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 12 May 2011 19:19:33 +0000 (15:19 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 12 May 2011 19:19:33 +0000 (15:19 -0400)
src/hb-font.cc

index 6657718..65f634f 100644 (file)
@@ -294,6 +294,7 @@ hb_font_get_glyph (hb_font_t *font,
                   hb_codepoint_t unicode, hb_codepoint_t variation_selector,
                   hb_codepoint_t *glyph)
 {
+  *glyph = 0;
   return font->klass->get.glyph (font, font->user_data,
                                 unicode, variation_selector, glyph,
                                 font->klass->user_data.glyph);