mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 12:08:55 +00:00
[UXTHEME] DrawNCPreview(): Fix copypasta
svn path=/trunk/; revision=74298
This commit is contained in:
parent
a737c007e8
commit
84ae261e52
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue