use {} rather than {0}

pull/2833/head
ckitagawa 4 years ago committed by Behdad Esfahbod
parent 2e50b517e1
commit b198d94489
  1. 2
      src/hb-ot-color-colr-table.hh

@ -214,7 +214,7 @@ struct COLR
if (unlikely (!old_record))
return hb_pair_t<bool, BaseGlyphRecord> (false, Null (BaseGlyphRecord));
BaseGlyphRecord new_record = {0};
BaseGlyphRecord new_record = {};
new_record.glyphId = new_gid;
new_record.numLayers = old_record->numLayers;
return hb_pair_t<bool, BaseGlyphRecord> (true, new_record);

Loading…
Cancel
Save