projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94cda5e
)
[UXTHEME] Apply Wine commit 997e204 by Louis Lenders: Fix CloseThemeData with invalid...
author
Amine Khaldi
<amine.khaldi@reactos.org>
Tue, 12 Jul 2016 11:12:58 +0000
(11:12 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Tue, 12 Jul 2016 11:12:58 +0000
(11:12 +0000)
svn path=/trunk/; revision=71901
reactos/dll/win32/uxtheme/system.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/uxtheme/system.c
b/reactos/dll/win32/uxtheme/system.c
index
0822fe5
..
18a3e09
100644
(file)
--- a/
reactos/dll/win32/uxtheme/system.c
+++ b/
reactos/dll/win32/uxtheme/system.c
@@
-878,7
+878,7
@@
void WINAPI SetThemeAppProperties(DWORD dwFlags)
HRESULT WINAPI CloseThemeData(HTHEME hTheme)
{
TRACE("(%p)\n", hTheme);
- if(!hTheme)
+ if(!hTheme
|| hTheme == INVALID_HANDLE_VALUE
)
return E_HANDLE;
return MSSTYLES_CloseThemeClass(hTheme);
}