From: Bram Moolenaar Date: Sun, 7 Oct 2018 20:47:07 +0000 (+0200) Subject: patch 8.1.0465: client-server test fails X-Git-Tag: v8.1.0465 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95ba5c364f097121b95879896b05ec737ecafd1c;p=vim 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 bd38e9d3f..9767a5b07 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -2343,8 +2343,8 @@ enum_windows_toplevel(HWND hwnd, LPARAM lParam) { 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); } diff --git a/src/version.c b/src/version.c index 8da8e7132..9f4991aa6 100644 --- a/src/version.c +++ b/src/version.c @@ -792,6 +792,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 465, /**/ 464, /**/