From 0aa7fdbd30a05b2db2a8542161ae68c0b672e6fc Mon Sep 17 00:00:00 2001 From: Juergen Schmied Date: Thu, 11 Feb 1999 10:19:10 +0000 Subject: [PATCH] FindWindow failed for 32 bit windows with style != WS_CHILD. --- windows/win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/win.c b/windows/win.c index f96c2bd25c2..2f50efc89c8 100644 --- a/windows/win.c +++ b/windows/win.c @@ -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 */ }