mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 03:48:01 +00:00
imm32: Simplify find_window where we do not need to consider the return value of EnumChildWindows.
This commit is contained in:
parent
968c8688c4
commit
4a0a1d19f8
@ -1290,9 +1290,8 @@ static BOOL CALLBACK find_window_callback(HWND hwnd, LPARAM lparam)
|
||||
static HWND find_window(HWND parent, LPCWSTR class, LPCWSTR text)
|
||||
{
|
||||
struct fw_arg arg = {class, text, NULL};
|
||||
BOOL br;
|
||||
|
||||
br = EnumChildWindows(parent, find_window_callback, (LPARAM)&arg);
|
||||
EnumChildWindows(parent, find_window_callback, (LPARAM)&arg);
|
||||
return arg.hwnd_res;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user