mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
[UXTHEME] DrawNCPreview(): Fix copypasta
svn path=/trunk/; revision=74298
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user