mirror of https://github.com/mpv-player/mpv
Zero-fill glyph_info_t before use.
Patch by Grigori G (greg chown ath cx). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28754 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
69ce550ee0
commit
15ed6e0199
|
@ -1310,7 +1310,7 @@ static void get_outline_glyph(int symbol, glyph_info_t* info, FT_Vector* advance
|
|||
key.italic = render_context.italic;
|
||||
key.outline = render_context.border * 0xFFFF;
|
||||
|
||||
info->glyph = info->outline_glyph = 0;
|
||||
memset(info, 0, sizeof(glyph_info_t));
|
||||
|
||||
val = cache_find_glyph(&key);
|
||||
if (val) {
|
||||
|
|
Loading…
Reference in New Issue