# HG changeset patch # User Bram Moolenaar # Date 1538946005 -7200 # Node ID 497009f367ea86ef2927f8a5ad410b3975db2388 # Parent 781a9d721febebb096f230c79dffa32c9d259712 patch 8.1.0465: client-server test fails commit https://github.com/vim/vim/commit/95ba5c364f097121b95879896b05ec737ecafd1c Author: Bram Moolenaar Date: Sun Oct 7 22:47:07 2018 +0200 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 --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -2343,8 +2343,8 @@ enum_windows_toplevel(HWND hwnd, 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 --- a/src/version.c +++ b/src/version.c @@ -793,6 +793,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 465, +/**/ 464, /**/ 463,