Skip to content
Snippets Groups Projects
Commit a2b938c2 authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard
Browse files

WIN_FindWindow: use GetExeptr(pWnd->hInstance) for CLASS_FindClassByAtom.

parent a8aa5e4f
No related branches found
No related tags found
No related merge requests found
...@@ -1525,7 +1525,9 @@ static HWND WIN_FindWindow( HWND parent, HWND child, ATOM className, ...@@ -1525,7 +1525,9 @@ static HWND WIN_FindWindow( HWND parent, HWND child, ATOM className,
{ {
if (className && !(pWnd->dwStyle & WS_CHILD)) if (className && !(pWnd->dwStyle & WS_CHILD))
{ {
if (!(pClass = CLASS_FindClassByAtom( className, pWnd->hInstance))) if (!((pClass = CLASS_FindClassByAtom( className, pWnd->hInstance))
||(pClass = CLASS_FindClassByAtom( className, GetExePtr(pWnd->hInstance))))
)
continue; /* Skip this window */ continue; /* Skip this window */
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment