FindWindow failed for 32 bit windows with style != WS_CHILD.

This commit is contained in:
Juergen Schmied 1999-02-11 10:19:10 +00:00 committed by Alexandre Julliard
parent 5954560598
commit 0aa7fdbd30
1 changed files with 1 additions and 1 deletions

View File

@ -1150,7 +1150,7 @@ static HWND32 WIN_FindWindow( HWND32 parent, HWND32 child, ATOM className,
{
if (className && !(pWnd->dwStyle & WS_CHILD))
{
if (!(pClass = CLASS_FindClassByAtom( className, GetExePtr(pWnd->hInstance))))
if (!(pClass = CLASS_FindClassByAtom( className, pWnd->hInstance)))
continue; /* Skip this window */
}