patch 8.1.0465: client-server test fails
Problem: Client-server test fails.
Solution: Change logic in EnumWindows().
diff --git a/src/os_mswin.c b/src/os_mswin.c
index bd38e9d..9767a5b 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -2343,8 +2343,8 @@
{
struct enum_windows_s *ew = (struct enum_windows_s *)lParam;
- if ((ew->lpEnumFunc)(hwnd, ew->lParam) == FALSE)
- return FALSE;
+ if ((ew->lpEnumFunc)(hwnd, ew->lParam))
+ return TRUE;
return EnumChildWindows(hwnd, enum_windows_child, lParam);
}