uxtheme: Properly initialize text drawing options.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2018-02-14 08:39:21 +03:00 committed by Alexandre Julliard
parent 0f98b0bb29
commit ce50a7ff4d
1 changed files with 1 additions and 1 deletions

View File

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