Commit 4a0a1d19 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

imm32: Simplify find_window where we do not need to consider the return value of EnumChildWindows.

parent 968c8688
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment