[PATCH 1/5] dwrite: Zero initialize font data structure.
Nikolay Sivov
nsivov at codeweavers.com
Thu Jan 21 05:39:57 CST 2021
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
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;
--
2.29.2
More information about the wine-devel
mailing list