Nikolay Sivov : dwrite: Zero initialize font data structure.

Alexandre Julliard julliard at winehq.org
Thu Jan 21 16:19:15 CST 2021


Module: wine
Branch: master
Commit: 612652bb9ca93dbafefc2ff47714c1906cb59d4a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=612652bb9ca93dbafefc2ff47714c1906cb59d4a

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Jan 21 16:36:50 2021 +0300

dwrite: Zero initialize font data structure.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dwrite/font.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/dwrite/font.c b/dlls/dwrite/font.c
index 74e6b929ecd..392c1dd0ee8 100644
--- a/dlls/dwrite/font.c
+++ b/dlls/dwrite/font.c
@@ -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;




More information about the wine-cvs mailing list