dwrite: Zero initialize font data structure.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-01-21 16:36:50 +03:00 committed by Alexandre Julliard
parent 5a32339dc8
commit 612652bb9c
1 changed files with 0 additions and 3 deletions

View File

@ -3932,9 +3932,6 @@ static HRESULT init_font_data(const struct fontface_desc *desc, struct dwrite_fo
data->file = desc->files[0];
data->face_index = desc->index;
data->face_type = desc->face_type;
data->simulations = DWRITE_FONT_SIMULATIONS_NONE;
data->bold_sim_tested = 0;
data->oblique_sim_tested = 0;
IDWriteFontFile_AddRef(data->file);
stream_desc.stream = desc->stream;