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:
eugeni 2009-02-27 23:06:53 +00:00
parent 69ce550ee0
commit 15ed6e0199
1 changed files with 1 additions and 1 deletions

View File

@ -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) {