[PATCH] uxtheme: Properly initialize text drawing options
14 Feb
2018
14 Feb
'18
5:39 a.m.
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> --- See https://bugs.winehq.org/show_bug.cgi?id=44512 dlls/uxtheme/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/uxtheme/draw.c b/dlls/uxtheme/draw.c index e917dd1b27..d07d0753da 100644 --- a/dlls/uxtheme/draw.c +++ b/dlls/uxtheme/draw.c @@ -1636,7 +1636,7 @@ HRESULT WINAPI DrawThemeText(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, LPCWSTR pszText, int iCharCount, DWORD flags, DWORD flags2, const RECT *pRect) { - DTTOPTS opts; + DTTOPTS opts = { 0 }; RECT rt; TRACE("%d %d\n", iPartId, iStateId); -- 2.15.1
2949
Age (days ago)
2949
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov