[UXTHEME] DrawNCPreview(): Fix copypasta

svn path=/trunk/; revision=74298
This commit is contained in:
Robert Naumann 2017-04-13 17:41:27 +00:00
parent a737c007e8
commit 84ae261e52

View file

@ -1105,7 +1105,7 @@ HRESULT WINAPI DrawNCPreview(HDC hDC,
if (!context.theme)
return E_FAIL;
context.scrolltheme = OpenThemeDataFromFile(hThemeFile, hwndDummy, L"SCROLLBAR", 0);
if (!context.theme)
if (!context.scrolltheme)
return E_FAIL;
context.Active = TRUE;
context.wi.cbSize = sizeof(context.wi);